How to integrate Google Analytics in cumulocity platform?

What product/components do you use and which version/fix level are you on?

10.13

Is your question related to the free trial, or to a production (customer) instance?

Production(Customer) instance

What are you trying to achieve? Please describe it in detail.

We are trying to integrate google analytics to our cumulocity tenant with metrics related to below points.

  • what user are using Cloud
  • how many accounts and devices each use
  • what applications are being monitored

we have google analytics account and generally we need to add Google code snippet in Head section of Web page.

To achieve above four points we are not sure where to add Google code into our Cumulocity IOT platform.

Any help would be appreciated.

Do you get any error messages? Please provide a full error message screenshot and log file.

Have you installed all the latest fixes for the products and systems you are using?

Hi,

Regarding what user are using Cloud, you would have to build your own versions of the default Cumulocity apps.
There you could e.g. follow this guide to include Google Analytics in your app:

This should allow you to track which apps users are using and where they navigate to within the app.

Cumulocity does product experience tracking using Gainsight on trial tenants.
You might want to override the GainsightService to transmit any custom events, that have been implemented, to Google Analytics.

Regarding how many accounts and devices each use, as not all users of your tenants would have access to all of the data you would get false values when implementing this via Googles script tag in the web applications. A custom microservice could provide you the correct data here.

Regarding what applications are being monitored, I did not actually get what you would like to track hereā€¦ What is meant with applications in this context?

Regards,
Tristan

Thanks for your reply but my concern is to know how we can add google Analytics in head section of web page in Cumulocity.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.