In this guide, we'll go over how to track individual product purchases on Woocommerce.

Step 1:
Download and configure this WordPress plugin: https://wordpress.org/plugins/duracelltomi-google-tag-manager/

Under Settings > Google Tag Manager -->

Enter your GTM ID. In my case, I have the GTM code snippets installed via another plugin so the setting under "Container Code Placement" is set to Off. This means that Google Tag Manager for WordPress will NOT install the GTM snippets for me, but will still push information into the dataLayer, which is the intended use of this plugin.

Step 2:
Under Integration > Woocommerce:


Ensure that "Track enhanced e-commerce", "Customer data in data layer", and "Order data in data layer" are all checked.

Step 3:
Download this .json file: https://share.getcloudapp.com/xQu060GN

Upload this .json file into your existing GTM container.

Select "Merge" and "Rename Conflicting..."

This container contains a tag titled "Funnelytics Base". This is the only tag that only needs to be modified. You need to use your own base tracking script, or if you already have Funnelytics installed, just remove this tag

Step 6:
In Funnelytics, map out an advanced action coming off of your "Thank You" or "Order Confirmation" page. 

The action should have an event name of "purchase" Add Properties to filter purchase actions by properties. Available properties that you can filter by are: skuidproduct_nameprice

Adding a property to the action in Funnelytics will only show the events that have the matching attributes. In this example, we're telling Funnelytics to "Show me all the events with the name of purchase, and also had a SKU of 1."

If you have any questions or need further clarification with Tracking Purchases in Woocommerce, remember to reach out to our support team anytime by emailing support@funnelytics.io or clicking the blue button on the bottom lefthand side in the app, we are always ready to assist you!

Did this answer your question?