Best way to integrate Google Tag Manger into corona apps?

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:

Hi fosfor,

dud you manage to implement Google Tag Manager in your Corona app? How did you do it?

Thanks!

João

I never got to do it. I foundout the client was using GTM soley for the purpose of tracking two separate GA tags, so I made some modifications to JonJonsson’s GA module that would fire off two events instead of one.

Since tagmanager has an iOS api kit, there should be a way to implement it for Enterprise users who have access to creating plugins, but that’s beyond my level of knowledge right now.

Hi fosfor,

dud you manage to implement Google Tag Manager in your Corona app? How did you do it?

Thanks!

João

I never got to do it. I foundout the client was using GTM soley for the purpose of tracking two separate GA tags, so I made some modifications to JonJonsson’s GA module that would fire off two events instead of one.

Since tagmanager has an iOS api kit, there should be a way to implement it for Enterprise users who have access to creating plugins, but that’s beyond my level of knowledge right now.