Stape can not track add_to_cart and paige_view

I recently installed Stape on Shopify, following the tutorial from your YouTube channel (https://www.youtube.com/watch?v=7ASTO--LNLE).

I’m encountering a few issues:

  1. Page Views: These are only being triggered in the server container.
  2. Add to Cart: This event is not being triggered in the web container, server container, or Google Ads.
  3. Purchases: These are being triggered in the server container and Google Ads, but not in the web container.

Please help me to solve this issue.

To suggest a solution. I need to check your setup Can you share the details of how you setup it up?

I’m not familiar with Google Tag Manager and only followed the tutorial video. Please let me know what information you need, and I’ll provide it.

The best would be if you could share the view access of your GTM as you are not used to GTM. Can you please contact me on WhatsApp?

thank you erfan for your interest. I just solved the issue. The video says that I need to name the trigger “add_to_cart_stape” . but in my case the trigger name is only “add_to_cart”.
same thing for the purchase and page view

Now my google ad account is able to detecte add to cart and purchase. but my google analytics is empty. how can GA4 detect all events in my web site.

You’ll need to create separate tags for GA4 because the events end with “_stape,” preventing direct use of the events variable. You can employ different code to track with a single GA4 tag.

1 Like

@Harry

  1. If you don’t see “_stape” dataLayer events, chances are you did not install our app correctly

  2. Trigger names and event names are two different entities you can trigger on whatever DL event, but still send desired event name to GA4

  3. Double-check your setup, if Google ADS (I assume server-side) are receiving signal then you just need to handle GA4 tag correctly.

Lastly, my suggestion would be to follow this and user our pre-built template: How to use pre-built Shopify GTM templates from Stape

1 Like

Thank you Dan for your help. I followed all the steps of the “[How to use pre-built Shopify GTM templates from Stape]” Blog , I still have some question:

1- How can I check if the app is installed in the right way?

2- I have 4 google ads accounts. Now after following all the steps in the blog, I have 1 ad account is linked with GTM. how can I track the conversions in the other 3 accounts.

3- Do I have to delete the Meta App from shopify?

  1. Run preview and see if there’s dataLayer events there.
  2. if your 4 google ads accounts are supposed to fire simalutaniously - copy Ads tags, feed the copies approriate ids/labels
  3. You need to at least disable Data Sharing option in Meta App on Shopify, or remove the app. The idea is you don’t want two sources of reporting. Test your setup before making the switch
1 Like