Why i can not setup datalayer on shopify checkout page

Tonelb_business

Junior Member
Jr. VIP
Joined
Nov 23, 2023
Messages
121
Reaction score
22
Hello Expert People,
I have a problem - I have been trying for almost 2 days and I can't setup the datalayer on the Shopify checkout page. The bad code is everything is fine. What could be the problem here?
 

Attachments

  • shopify check out page-- datalayer-- 001.jpg
    shopify check out page-- datalayer-- 001.jpg
    106.5 KB · Views: 6
  • shopify check out page-- datalayer-- 002.jpg
    shopify check out page-- datalayer-- 002.jpg
    56.1 KB · Views: 6
  • shopify check out page-- datalayer-- 003.jpg
    shopify check out page-- datalayer-- 003.jpg
    76.1 KB · Views: 6
Shopify is blocking access to checkout, especially on standard plans. You can't manage scripts properly without Shopify Plus. This explains the problems with the data layer, it either doesn't work or behaves unpredictably. If you're using gtm, try pushing events earlier in the process: cart or begin_checkout. Or switch to native shopify events instead of custom ones. And check if scripting is even allowed on the checkout domain, this is a common limitation that people forget about.
 
Shopify is blocking access to checkout, especially on standard plans. You can't manage scripts properly without Shopify Plus. This explains the problems with the data layer, it either doesn't work or behaves unpredictably. If you're using gtm, try pushing events earlier in the process: cart or begin_checkout. Or switch to native shopify events instead of custom ones. And check if scripting is even allowed on the checkout domain, this is a common limitation that people forget about.
Oh, so this is what it's like without Shopify Plus?
 
Shopify blocks checkout edits on most plans. You cant add custom scripts there unless you on plus. Use order status page or apps instead.
 
Shopify blocks checkout edits on most plans. You cant add custom scripts there unless you on plus. Use order status page or apps instead.
So, how can I set this up without the Shopify Plus plan? And how can I do it with custom elements? Can it fired up then?
 
Back
Top