I would like to setup “Viewed Product” tracking with Google Tag Manager. I have already implemented the “global website tag” which I can also see in my activity feed. Now, I just don’t find the code snippet to fire when a user visits a product page.
Where can I find that code snippet?
I will need the same for “checkout started”, “placed order” and “ordered product”. So if someone could send me the links or the code snippets, I will be very grateful for that.
I have to use Google Tag Manager since we are not running on Shopify or any other supported platform.
Yes when using Google Tag Manager, the snippets you need aren’t in the normal help center documentation because you’re not using an eccomerce integration for this. You can access the necessary snippets to add Active on Site and Viewed Product tracking, Checkout started etc in our documentation this documentation in our developer portal. You may need to make some adjustments to the variables given in this example if they do not work as expected out of the box, but the base structure should be the same!
Yes when using Google Tag Manager, the snippets you need aren’t in the normal help center documentation because you’re not using an eccomerce integration for this. You can access the necessary snippets to add Active on Site and Viewed Product tracking, Checkout started etc in our documentation this documentation in our developer portal. You may need to make some adjustments to the variables given in this example if they do not work as expected out of the box, but the base structure should be the same!