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:
- Access GTM and initiate a new tag setup by clicking on the tag icon.
- Select the tag type as Custom > Custom HTML.
- Insert the revenue tracking code and save the code. Please, refer to the previous section.
- Select the Trigger type as "Page View".
- Select "Some Page Views", on "This trigger fires on".
- Select "Page URL".
- Select and enter, a criteria, to match your confirmation purchase URL.
- Rename the Trigger name as "Purchase Confirmation Page" and save it.
- 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.