App Usage Tracking with Google Analytics
Integrate Google Analytics to understand the usage behavior of your Reporting Hub application
Last updated
Integrate Google Analytics to understand the usage behavior of your Reporting Hub application
Last updated
Usage tracking allows you to monitor and analyze the usage activity of your Reporting Hub web application. The Reporting Hub includes simple integration with Google Analytics to enable usage tracking.
To take advantage of usage tracking, a Reporting Hub Business, Enterprise or Commercial subscription is required.
Google Analytics is a free service offered by Google to track usage data from a website or web application.
For more information please visit:
Follow the steps outlined in the article below to set up Google Analytics for your web application.
Google Analytics 4 (GA4) has replaced Universal Analytics (UA) and as of July 1, 2024, you will lose access to UA data. See the Google Support documentation for information on migrating from UA to GA4.
After you have set up your Google Analytics account, property, and data stream, you can associate it with your Reporting Hub application (this establishes the data collection for your Reporting Hub).
Begin by copying your “G-” Measurement ID from your Google Analytics web stream associated with your web app.
In the Reporting Hub, from your App Settings > Tenant Admin menu, select Edit for the Reporting Hub tenant you wish to track.
Paste your “G-” Measurement ID code into the Google Analytics Code field and select Save.
At the bottom of the page, under Application Memory, select Reset for the Google Analytics code to take effect.
You can apply the same Tracking ID code into multiple tenants if you want to aggregate all tenants activity, or, apply a unique code to each tenant to track tenants independently.
Now that you are collecting Google Analytics data from your Reporting Hub web application, you can connect Power BI.
When working with a new report, simply use the Google Analytics connector within Power BI desktop to connect to your GA4 data:
Select the 2.0 (Beta) implementation:
Sign in with the email you use for Google Analytics. Then, you will be able to choose the Google Analytics account and data stream. Select the dimensions (indicated by the x-y-z axes graph icon) and the measures (indicated by the bar chart icon) you want to include in your report.
Learn more about the Power BI Google Analytics connector:
If you don't want to use the Google Analytics Power BI connector, you can export your GA4 data into BigQuery, and then use the Google BigQuery connector in Power BI.
Learn how to export your data to BigQuery:
Learn how to use the Google BigQuery connector to access your data:
An Enterprise or above license is required to access User ID-level analytics with GA4.
The Reporting Hub is configured to send encrypted User-ID level usage analytics per Google's GA4 defined best practices. For customers that wish to take advantage of this feature, please reference the below documentation:
Additionally, the user_id
property is not accessible via the Google Analytics Power BI Connector. You must export your Google Analytics data to BigQuery and access it that way.