Pixel will not track any customer behavior because it is not subscribe

Hi,

I’m trying to see why I cannot track Checkout. All works, add to cart, etc

I see that when using the Stape plugin in Shopify, and setting the custom pixel permission no not required, Shopify gives the error:
Pixel will not track any customer behavior because it is not subscribed to any events. And links to: https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/code#create-pixel-code

Is this the problem why checkout doesn’t work?

Hello @Bob_Christof,

The fact that after making the settings, you see a warning message like this is normal behaviour, and it should be so. This is not the cause of failing checkout tracking.

Also, please note that you can’t debug your checkout events in your Web container’s GTM preview mode due to Shopify platform restrictions. This is because of the way the Pixel API is implemented in Shopify. This restriction also applies to purchase events on the Thank You page extensibility and if you use Checkout Extensibility for the order status page. You can learn more here:​ Set Up Server-Side Tracking on a Shopify Store

However, there is a workaround to debug GA4 checkout/purchase events in GTM Preview Mode for your server-side container:

  • Publish the latest version of your Web GTM container.
  • Clear the data for the website in question via the browser’s dev tools (shift+cmd+c/ctrl+shift+c → Application → Storage → Clear site data).
  • Launch the preview for sGTM container as usual.
  • As an alternative, when you have both the web and server container Preview Modes open, feel free to close the server Preview Mode and then reopen it again, without touching the Web Preview one.

Once done, you should see the incoming requests for checkout/purchase events for GA4 client in your sGTM.