AddtoCart doesn´t work properly
today we implemented the enhanced ecommerce tracking. We use the gtm. The function addtocart doesn´t always work. We used the debug-function of the gtm to determine if the event is triggered and whether data are included.
According to gtm the event is triggered and data are included. But they don´t always show up in analytics.
The enhanced ecommerce tracking option is activated in every activ tag.
What could be wrong?
Our Homepage ist de.personello.com
Thanks in advance.
Re: AddtoCart doesn´t work properly
Another thing that I noticed is you don't have the GTM tag right after the opening body tag. You should move it up there on all pages. Especially since you have like 7 dataLayer pushes that come before the actually inclusion of the gtm.js script. While some of your pushes are event driven, it could still cause inconsistent data now or in the future.