I’m trying to set up conversion tracking with Google tag manager, yet i cant seem to find the data layer variable that contains my total order value. When i head into my console on my thank you page to see my data layers, it doesn’t show me anything related to the transaction. Anyone have a workaround for this?
Hi @madshj you have to manually add the datalayer object to your additional scripts.
Go to settings > checkout > additional scripts.
Frome there you can add a script to create a datalyer object and push a purchase event with all the relevant parameters.
e.g.
If you need complete dataLayer you can check it. https://leomeasure.com/shopify-datalayer-gtm