Add to card pixel / shopify lite verson (buy button)

New Member
3 0 0

Hey guys,

I am new here! My shop is running pretty well, however I HAVE track my add to card clicks through an according pixel that I can put in my embed code.

Any hints on that?

THANK YOU in advance. I would also be willing to pay a little for this since it is quite urgent.

Reply 1 (1)
29 0 4

Hi Simon,

You can track add to cart, purchase or any other events and call custom JS script / pixel by setting up GA (Google Analytics) and GTM (Google Tag Manager) on your Shopify store.

Here's how you can do it -

Step 1: Setup GA and GTM on your store. Follow the steps mentioned here.

Step 2: Define a trigger in GTM which will fire on all add to cart events using button class element - shopify-buy__btn . Define a custom html tag that you want to fire on add to cart events.

That's it.

Let me know if you need any help.