How to track revenue using GTM

THIS ARTICLE WILL HELP YOU:


Track revenue with GTM

You can utilize Google Tag Manager to insert the HTML code to track revenue in Convert. This can be inserted as a GTM tag. With GTM you might not need the help of your webmaster or IT department to track revenue.

However, you would still need to map your e-commerce revenue variables to the Convert variables. You can read more about it on: "Add Revenue Tracking to Your Site" article.

Once you got the variables mapped and your code snippet, you can create your GTM tag.

If you use an already available e-commerce integration, you might not need to do this. As this is already done for you on many of those integrations. Check your integration to see if it includes revenue tracking.

Configure the GTM Tag

To configure the GTM Tag follow the steps ahead:

  1. Access GTM and initiate a new tag setup by clicking on the tag icon.
  2. Select the tag type as Custom > Custom HTML.



  3. Insert the revenue tracking code and save the code. Please, refer to the previous section. 



  4. Select the Trigger type as "Page View".
  5. Select "Some Page Views", on "This trigger fires on".
  6. Select "Page URL".
  7. Select and enter, a criteria, to match your confirmation purchase URL.



  8. Rename the Trigger name as "Purchase Confirmation Page" and save it.



  9. Select the "Advanced Settings". Set the priority to "2" (determines the order in which tag will be fired). Save the tag. 



 Now your revenue tracking is ready. You should have revenue tracking on your reports.