Note |
---|
Please note that this document is a draft and still not finalized. |
...
Table of Contents | ||||
---|---|---|---|---|
|
What is Google Analytics and Tag Manager?
Google Analytics
Google Analytics (GA) is an analytics service that provides statistics and basic analytical tools for search engine optimization (SEO) and marketing purposes. The service is part of the Google Marketing Platform and is available for free to anyone with a Google account.
Tag Manager
Google Tag Manager (GTM) , is a free tag management system that allows you to manage and deploy marketing tags (snippets of code or tracking pixels) on your website (or mobile app) without having to modify the code.
Connection in between Google Analytics and Tag Manager
Having both of these tools can make the lives of the developers a lot simpler. Data can be sent from GTM to GA, so you can analyze it, see trends, and have all the information needed in one place. It can be easily set up by using an appropriate ‘Trigger’ and a ‘Tag’ from Google Analytics. The triggers can also be used to select certain times the data will be sent to GA so that it can be done automatically. Likewise, these two tools can be used together to collect user-specific data and generate reports.
...
How to set-up, access and use Google Analytics and Tag Manager in white-labeled Mobile Applications?
Google Analytics for Firebase
Data collection (web and mobile) is done at the GA property level. The most common process for sending mobile-app-specific data to GA is by using the Google Analytics Services SDK for Android or iOS. But with the depreciation of Google Analytics Services SDK, the Firebase SDK was introduced to provide a more rich and robust service for mobile analytics. Firebase is a fully managed backend-as-a-service (BaaS) where both mobile and web applications can be developed. As mentioned previously, Google Analytics For Firebase (formally called Firebase Analytics) is one of the many services offered by the platform. It sits at the core of Firebase and integrates across numerous features provided by Firebase SDK. It gives you free and unlimited logging and reporting without any quota, any sampling and no paid tier to worry about. Simply by installing the Firebase SDK, GA automatically starts providing insight into your app. For the Mobility Mobile Application too, the above-described Firebase SDK has been used.
Mobility Mobile Application
Set up Google Analytics for the BRP Admins
Firebase Project Name (Production) - BRP APP 5
BRP Admins can view and monitor the analytic details of any white-labeled mobile application through the above Firebase Project’s Dashboard using the respective GA Tracking ID (EX: UA-#########-#).
...
Set up Google Analytics for the Clients
If the customers wish to view, monitor the analytics of their white-labeled app, they should get help from the Customer Support Team to manually configure the corresponding Google Analytics Tracking ID (EX: UA-#########-#) in the code base.
...
After that is done in the code level and the Back Office, the customers can easily view the analytics of their mobile apps through the Firebase Dashboard.
Access and use Google Analytics and Tag Manager Dashboards
For a white-labeled mobile app customer/admin,
Google Analytics events can be monitored through;
Firebase Dashboard-> Analytics -> Dashboard or Firebase -> Project settings -> Integrations -> Linked Google Analytics account
...
Admins can filter analytics data from a bundle identifier to view the analytics data related to a specific app.
Firebase Dashboard-> Analytics -> Dashboard -> Add filter -> Stream -> Select stream
How to set-up, access and use Google Analytics and Tag Manager in white-labeled Web Applications?
Mobility Web Application
Set up Google Analytics for the BRP Admins
GA Project Name - Universal Analytics (Admin team)
...
An authorized admin user can use the corresponding GA IDs to view the GA dashboards of Mobility Stage Environment or Production Environment by navigating to https://analytics.google.com/
Set up Google Analytics and Tag Manager for the Clients
For a white-labeled web application client to set up GA and GTM for their product and monitor data, the following steps need to be completed.
Create and set up a new GTM account.
Create and set up a new GA account.
Connect the GTM account with GA.
import the container template which includes all the required tracking tags by Tag Manager Dashboard -> Admin -> Import Container
update the GA PROD variable value with their google analytics tracking id by Tag Manager Dashboard -> Workspace -> Variables -> GA PROD -> Tracking ID
Send the GTM ID to the BRP Team.
The BRP team should update the client tag GTM id in the back office (
googleTagManagerID
) to initialize GTM configurations in the white-labeled app.The API will get the updates and the client’s end will be able to view the GA analytics for the white-labeled product through the GA Dashboard.
...
In an instance where the customer do not wish to let Google or BRP receive the analytics data, then, the above setting should remain as NULL
.
Access and use Google Analytics and Tag Manager Dashboards
From the GA dashboard, the following information can be seen.
Google Analytics events can be monitored through, Analytics Dashboard -> Behavior -> Events -> Overview
Pageviews can be monitored from, Analytics Dashboard -> Behavior -> Site Content -> All Pages
Real-time data can be monitored through,Analytics Dashboard -> Realtime -> Overview
BRP Admin can get a detailed view of analytics events based on the application ID (appId - appName) Analytics Dashboard -> Behavior -> Events -> Overview -> Event Action -> Secondary dimension: application ID
BRP Admin can get a detailed view of page views based on the specific application ID (appId - appName) Analytics Dashboard -> Behavior -> Site Content -> All Pages -> Secondary dimension: application ID
Events and Reports
Events
The data you see in your reports comes from events that trigger as users interact with your website and/or app. For example, a page_view event triggers when a user views a page on your site.
The following table shows a list of events that have been implemented for project ‘Mobility’ for both web and mobile applications.
...
Reports
Reporting lets you visualize data about your users and their behavior across your websites and mobile apps. Analytics provides a set of default reports geared towards common reporting use cases, but you can also customize the reports and the report navigation to fit your business objectives.
...