I'm integrating my own website with Shopify via Shopify API, and after the user adds item to the cart and click "Go to Checkout", I redirect to Shopify Checkout.
Is there any way to add Google Analytics to that Checkout?
In this page https://help.shopify.com/en/manual/reports-and-analytics/google-analytics/google-analytics-setup they explain how to add Google Analytics to a Shopify webpage, but since I'm only integrating with Shopify at checkout, I wonder if I can do it via Additional scripts or something along those lines.
What I want to get is to track is when the user enter to the Shopify checkout and buys the Cart, would be great if there is any way to send the ecommerce event to Google Analytics.
Hi! You can link two different domains. You should put the same google analytics ID to the both websites. They will be in the same Resource in GA. If they have different domains, I think you shouldn't cut domain name in the resource settings.
You can find more info here https://support.google.com/analytics/answer/1034342?hl=en and https://developers.google.com/analytics/devguides/collection/analyticsjs/linker