How does one go about including Google analytics for Trigger.io-built apps? I can see that the mobile web built with trigger.io would be just a matter of embedding the GA JS code. But what about iOS or Android?
How does one go about including Google analytics for Trigger.io-built apps? I can see
Share
Simple answer:
You already answered your own question – embed the Google GA JS code.
Alternative answer:
Another alternative is that you could utilize forge.ajax and fire the .trackPageView method in the success callback. In this case you would have to add the proper domain permission in your config file.
However, isn’t GA tied to a specific domain (or group of domains)? In the case of PhoneGap or trigger.io there is no domain name.
Also, see this question & answer –
Step by step to get Google Analytics working in PhoneGap 1.2.0 on iOS (phonegapalytics)