Our goal in Google Analytics is marked as complete when a user makes it from an mydomain.org landing page over to Shopify and from there completes a ticket purchase. When a user has reached the 'payment confirmation/thank you' page, the goal is officially complete and a conversion is recorded.
To do this we have to established cross domain tracking between the mydomain.org and the mydomainstore.com. To set up cross domain tracking between the two sites we have to add tracking code on each site. To support this code, Google Analytics' settings have to be optimized.
What we have in place:
- Site-wide tracking code on myDomain.org
- Tracking code on the 'payment confirmation/thank you' page on mydomainstore.com
- tracking code in shopify's "theme.liquid", under the opening "body" tag.
- tracking code in Order Processing "Additional Scripts" section
Supporting settings optimized:
- Goal created in Google Analytics
- Destination set as url of 'payment confirmation/thank you' page of the mydomainstore.com
- Both of the domains added to the 'referral exclusion' list
- Goal imported into Google Ads
What isn't working: We have tested the conversion multiple times by starting on the mydomain.org page, clicking 'buy tickets', following the check out process on mydomainstore.com, and making it to the 'payment confirmation/thank you' page. When we complete this test, we check Google Analytics to see if a conversion has been recorded. None have so far.
Any help would be greatly appreciated
Do the two domains have the same tracking IDs? They must be under the same property for cross-domain tracking to work. I've seen many stores stuff this up. I have a guide to do cross-domain tracking in Shopify.