# Anyone has experience in adding the Enhanced E-com tracking with GTM

**URL:** <https://forum.litium.com/t/anyone-has-experience-in-adding-the-enhanced-e-com-tracking-with-gtm/1291>\
**Category:** Questions\
**Tags:** litium-6, accelerator\
**Created:** [January 23, 2020, 9:57am UTC](https://forum.litium.com/t/anyone-has-experience-in-adding-the-enhanced-e-com-tracking-with-gtm/1291 "2020-01-23T09:57:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cissi](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/cissi/32/18_2.png) [@Cissi](https://forum.litium.com/u/Cissi)\
**Post date:** [January 23, 2020, 9:57am UTC](https://forum.litium.com/t/anyone-has-experience-in-adding-the-enhanced-e-com-tracking-with-gtm/1291/1 "2020-01-23T09:57:40Z")

</div>

Hi!  
Just wanted to check if anyone did this and how. Can you make use of the TrackingScriptGenerator?  
Is this a big thing? Did a fast read of the documentation on the google devs site and seems a bit much.

Litium version: 6.3.7

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [February 14, 2020, 10:24am UTC](https://forum.litium.com/t/anyone-has-experience-in-adding-the-enhanced-e-com-tracking-with-gtm/1291/2 "2020-02-14T10:24:08Z")

</div>

We do not support GTM Enhanced Tracking in Litium but if you got questions or help regarding this topic you are welcome to contact support team.

---

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [February 16, 2020, 5:47pm UTC](https://forum.litium.com/t/anyone-has-experience-in-adding-the-enhanced-e-com-tracking-with-gtm/1291/3 "2020-02-16T17:47:46Z")

</div>

You cant do it only in GTM unless your products in the listings have a lot of data, you need to expose a big chunk of data server-side if you want to implement it fully. The least complex way usually is to add a json data attribute with all needed data to all products and products lists and push events to GTM via the datalayer.

But one could just generate a json object from the DOM and use GTM click events and an observer scrip for impressions if all data is there. But then every frontend redesign could brake the code.

A nicer way would be to use api that gets all needed information from a productId, adds it to the datalayer and subscribe to those events

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [March 15, 2020, 5:47pm UTC](https://forum.litium.com/t/anyone-has-experience-in-adding-the-enhanced-e-com-tracking-with-gtm/1291/4 "2020-03-15T17:47:48Z")

</div>

Closed on March 15, 2020, 5:47pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
