Stape Script not tracking anymore?

Hey,

I have just noticed that the stape tracking doesn’t seem to be working in the cart at the moment.

have checked all the setting and they look good (customer custom events) and I have this in debug mode, but I am not seeing the events within the debug window in cart.

Hey @Chris_Bradley

Can you give us more details please? Ideally screenshots or videos of what is not working.

I am having the same issue. It appears the tag is no longer found on the thank you page.

It appears to be working, as we are getting this:

:rocket: ~ window.analytics.subscribe ~ event

In the console. But nothing is being sent to Google Tag Manager. It was working a few days ago across all our sites and we have 0 conversions all of a sudden without making any changes.

Also:
It appears Google made a change on 9/28 for Server Side Tracking - this is the exact day it broke for us. Wondering if this is affecting it?

Server-side tagging release notes [2.4.0]

  • Updated base image version for security updates.

Hi @C997,

Your problem is local and has nothing to do with the sGTM version upgrade.
From your text it is not quite clear what exactly stopped working for you, I can assume that you’re going through events in GA4.
To do this, I recommend checking all tracking components one by one:

  1. Check if GTM container is loaded on all pages
    In the network tab of your browser specify your sGTM subdomain in the filter, reload the page - you should see a request like this:

If it is there and the status code is 200 - then everything is normal, the container is successfully loaded. But check it also on e.g. checkout pages or where you see your problem.

  1. Check if data layer events work

Since you have a problem on the checkout pages judging by the description - make an event you need, for example a purchase.
In the browser console you can check the state of the data layer.
If you do NOT have the checkbox ‘I use extensibility for thank you page’ checked in the Stape plugin, make sure you have ‘top’ selected in the window selection and write the dataLayer in the console. You should see a list of events and can view their data:

If the checkbox for thank you page is checked in Stape app - the events work will be in sandbox, so in the console you will need to select ‘web-pixel-sandbox…’ instead of ‘top’ window and then you can call the data layer and view its events.

Note that there will be as many web-pixel-sandbox windows as you have records in customer events in Shopify. So to find the right one, you just need to select each one and try call ‘dataLayer’ in it.

If both points above work - then the problem is inside your GTM containers, i.e. with the configuration of your tags and/or triggers. Here you need to run preview + e.g. GA4 debug mode and check if your tags are working correctly.

Hi there,

I got the same issue, then i tried to change my web client do data tag and it worked ok. I guess only GA4 as web client stopped working.

I ended up logging a ticket and there was a change in shopfiy effecting some users in Stape.

Stape team fixed it up via support.