Hello,
I have been using JonJonsson’s Google Analytics module successfully for a couple of apps, but I am going to be required to implement Google Tag Manager into my apps soon.
The standard GA plugin simply sends specific analytics events via POST to the GA tracking server.
Google Tag Manager (GTM) for Web pages uses a block of javascript on each page to monitor all events on pages generically, and the owner can manage tracking of specific events on specific pages through a dashboard, and also relay those events to other tracking services outside of GA.
If I were to use an offscreen webview to load local html pages (within the app) containing the javascript, would that suffice to send “page view” events to GTM?
There are GTM plugins for Xcode/iOS and Android, but I have no idea how to get those to work with Corona.
Links for reference:
- JonJonsson’s GA module: http://code.coronalabs.com/code/google-analytics-module
- Google Tag Manager: https://developers.google.com/tag-manager/