Google Tag Manager (GTM) is a free application that allows users to remotely alter and activate certain code snippets that fire in a web or mobile app, without requiring direct access to the codebase or an App Store resubmission.
Regardless of the benefits of using GTM, a direct Froged installation is generally preferable to a GTM implementation. GTM can be a great fit for a simple page-view based implementation, but Froged's true power is in tracking actionable data based on specific user activities, not just page loads.
Implementing directly is still an option even if you're already using GTM for other tags. GTM and directly-installed Froged can coexist peacefully.
Installing the Froged library:
- Go to Tag manager > Tags
- Create a new Tag
- Choose custom HTML tag
- Paste the Froged Script - you can find it at Settings > Install.
- Open Advanced Settings.
- Set your 'Tag firing priority' to any value above 0.
Note that higher-numbered tags are fired before lower-numbered tags. (Give the library snippet a priority level that is higher than those of your tracking calls. So, if you set a priority level of "5" and leave all other Froged tracking call priorities blank, they'll default to 0 - the lowest priority - and will fire after the library snippet has fired.)
- On the window, Triggering, choose All Pages as the trigger
- On Tag firing options, select Once per page. And that's it, you are done!