Web pixel with gtm

Hi,

I use a custom pixel to send information to GTM at all stages of the checkout.
begin, shipping, purchases
After checking the information in GTM, it turns out that customers are reaching broken links, and this is as a result of what is added to the /sandbox url
I tried to make the fix as listed in the documentation in clean url :

https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/gtm-tutorial

And it doesn’t work for me
I’m attaching the full code, and I would appreciate it if someone could show me how I see the information in GTM or in the plugin, and if not how to register the event more correctly.

Hi,

This custom pixel datalayer is not updated and not compatible with updated sandbox environement.

To push datalayer event to GTM like view item, add to cart, checkout and purchase you have to configure a custom datalayer that is compatible with your store and send ecommerce events .

Feel freet to ask if you have any questions.

Thank you

The main issue is coz of your initialize script for GTM.

On that script you can see the code GTM-XXXX.

This is not the default code so you need to replace it with the real GTM container ID that you can get on your GTM data layer.

Hope this is helpful.

Thanks