Hi everyone,
I’m experiencing a GA4 tracking issue with my Shopify app.
Problem:
-
GA4 shows only ~48 sessions from the App Listing page
-
But ~600 install events are recorded
-
This has been happening since Feb 2025
I have contacted Google, and here is what they found:
-
When users click Install on the Shopify App Listing page and are redirected to Shopify Admin for authorization, the GA4 session is lost
-
This breaks attribution between the landing page session and the install event
-
As a result, installs are recorded as new sessions (often “Direct” or “not set”)
-
This is especially common with:
-
Cross-domain tracking not configured
-
Delays during Shopify login/authorization
-
-
Because GA4 stream is set up on a single landing page within the Shopify app, the session gets interrupted whenever a user navigates to another page (such as the login page) and then returns, causing the session to reset and some data to appear as “not set.”
Can Shopify Dev implement a reliable way to:
-
Preserve GA4 session attribution across the Shopify App Store → Admin OAuth flow?
-
Or properly track install events tied to the original session?
Thanks!