Adding Google Analytics

Google analytics can be added to your Asset Bank very simply via the ApplicationSettings.properties file (found in the WEB-INF/classes directory):

# If you wish to use Google Analytics enter your site ID here e.g. UA-1234567-8
google-analytics-id=

Once you have added the 'UA' code to the settings file then the Tomcat service will need to be restarted.

The analytics javascript snippet will now be present on your Asset Bank. You can check this by viewing the page source and searching for your 'UA' code. Shortly afterwards your analytics account will recognise this and start tracking the activity of your users as they navigate your Asset Bank.


Was this article helpful?

Yes No

Thanks for your feedback!