No datalayer events on checkout pages

Hi,

i implemented sGTM via the Stape Shopify App. The shop is not a Shopify plus shop.
I followed the tutorial Stape Server GTM Shopify App in wenigen Klicks einrichten - Stape

All Events fire on all pages. When entereing the checkout page the connection to the tagmanager is lost. I checked in the console if there is a collect request to google. but there is no request. There is also no event in GA4. Seems that on checkout pages everything is lost.

Thx for your help!
Ralph

That’s normal. Here are some links on the subject:

Hi,

i want to give some more insights: I can see the sandbox-web-pixel with the Stape code. I can see in the datalayer the event “begin_checkout_stape”. But the event does not trigger my GA4 tag. There is no server event and no event in debug modus in GA4 named “begin_checkout_stape”.

no begin_checkout_event in server container

Do you have a tag on your web container that triggers on the begin_checkout_stape data layer event?

Yes

Could it be a problem that the shopify shop hasnt made the upgrade to the new checkout site yet?

Yes, if you haven’t switched to checkout extensibility yet - that’s the problem. Shopify pixel api (which the data layer is based on) only works on checkout extensibility.

We dont have a shopify plus account. so we dont have the checkout extensibility. Will the Stape Server GMT Plugin with the Pixel work? If not, is there a workaround for none plus shops?

You don’t need to use Shopify Plus for this to work. It’s important to switch from checkout.liquid (if you had it before), to the new format.

Can you check that you have an active and added script in the customer events section? The script that is available in the Stape app, in the data layer section.

Yes we added the custom pixel with the code from the datalayer section. How can we check the switch away from checout.liquid?

Our developer told me, that he upgraded to the new format…and still not working

You need to check if you have any warnings in Shopify admin → settings → checkout that you have not yet migrated to the new checkout:

In settings → customer events you need to check that the script you took from the data layer section in the Stape application is added, active and in the Permissions section the Not requeired option is selected.

Can you check this and send screenshots please?

Everything is the way you described:


Now you have added this or activated it and the data layer also appeared on the checkout pages, including begin_checkout_stape

Yes we were testing another Custom Pixel. But we recieve no begin_checkout in GA4 or in the sGTM. The trigger for the tag is set on the event “begin_checkout_stape”. But still no events in the console, sGTM or GA4. It seems the tagmanager is blocked or somehting…

You seem to be checking something wrong or not checking it right.
Here is your GTM container, it loads successfully on the checkout pages

Here are the GA4 events that are hidden through the GA4 bypass activated function.