Google Analytics Events inside Shopify App

Olmer
Tourist
4 0 1

Hello,
We have an Shopify App, which work inside Shopify iframe.
We are trying to collect events for Google Analytics (analytics.js) in order to track and analyse the app usage.
Both ga and gtag not working inside the iframe. As i understand it happen because of 2 different domains (our app and shopify).
How we can implement ga tracking in our app? What is the correct way to do so?

Thanks

Happy New Year!

 

0 Likes