DataLayer.push not working on checkout page

Hi all,

we are using stape.io Server GTM app for Shopify but we are facing the problem that the DataLayer.push is not active on checkout page.

Do you know this problem and do you have the solution for it?

Kind regards,
Melvin and team at Kapwa Marketing

1 Like

Hi, if you’ve switched your checkout to the new Shopify checkout extensibility - the current version of Stape app will not be generating checkout events. There are limitations on Shopify side and we are working on an alternative solution, since GTM cannot be loaded as part of pixel applications (but you can still load it manually as a custom web pixel).

Are the webhooks still working for the app to send purchase events? About over a week ago the purchase_stape event was still sending but now it has stopped working for us and we are using webhooks.

If you have switched to the new Shopify thank you page extensibility - Stape app will not be sending purchase events. Current version of the app does not support new extensibility for checkout, nor for thank_you page

@Vlad_Kononov has this changed? Becuase in the Stape app you can select if you are using checkout extensibility and there is a code that needs to be pasted in the customer event

Yes, Stape released a new version of Shopify app that works with checkout extensibility and the blog post has been updated to briefly describe the nuances

1 Like

Hi @Vlad_Kononov , we have installed the latest version of the app and added the custom Pixel via Shopify however no purchase events are being tracked (other than webhooks):

Hi,
Is the custom pixel connected?
Are you already on the upgraded order status page extensibility?
How did you check and verify that there are no purchase events?

Hi,

Two questions:

I don’t recall ever ticking the checkboxes for the webhooks when initially configuring the Shopify Stape App.

They’re now showing checked and our GA4 conversion data shows a 90% drop since Nov 10th - 11th.

Was the Shopify Stape app updated around Nov 10th / 11th?

Should I uncheck the checkboxes for webhooks?

Thanks
Dave

Hey,

No, the last update to the app was on the 19th of October.
The checkboxes are not activated automatically, probably someone has activated them. If you don’t use webhooks in your tracking (usually you don’t need to) - you can switch it off.

I recommend to run previews of your web and server containers and check if all tags work as you expect.

Thanks Alex.
We have our own Tagging Server on Google Cloud and are using the Shopify Stape GTM Server App for the ecommerce events for GA4, e.g. purchase_stape, add_to_cart_stape, etc…

We noticed a huge drop in GA4 conversions around Nov 10-11th and also noticed none of the stape events were firing in preview mode.

Is there a threshold (requests/month) when using the Free Plan even when we have our own tagging server elsewhere? If there is, can we subscribe to a plan to avoid hitting the threshold limit again?

No, there are no request limits, you can use the app without using Stape. But there are some technical restrictions for several app functions due to the way some of the features in Stape are implemented.

You cannot use the options in the General tab:

  • custom loader (but you can add custom domain)

  • cookie keeper

  • stape analytics (I think this is obvious :))

Everything else can be used without restriction.

Thats great Alex! To resolve our issue, I uninstalled the Shopify Stape GTM Server App, disconnected the Web and Custom Pixels, reinstalled the App, enabled the embed App in theme settings and added the pixels back.

The stape events are now firing again.

It’s just weird that I’d have to uninstall and reinstall the Shopify App to get the events to fire again.

Thanks

It looks weird. If you had no events at all maybe you had the app disabled for some reason in the theme settings?