VIVO Documentation
Page History
...
Google Analytics is a popular, and proprietary analytics platform for measuring web traffic to a site. VIVO supports Google Analytics through a Freemarker Template dedicated for the purpose. You will need to sign up for Google Analytics, and use you your site domain and your key as part of the configuration.
...
- Sign up for Google Analytics. Have your page key, your roll-up key and the site domain name of your VIVO production site ready.
- If you are not using the default VIVO theme, copy
googleAnalytics.ftl
from the default theme (wilma) found here:./webapp/src/main/webapp/themes/wilma/templates/googleAnalytics.ftl
- Edit
googleAnalytics.ftl
in the theme you are using. Provide your domain name, your page tracker key, and your roll-up tracker key. mvn install -Dskiptests=true
- Restart Tomcat. As you develop more experience with customizing the VIVO interface, and working with VIVO, you may be able to bypass some caching and make changes that will be picked up immediately by Tomcat. In such cases you may not need to restart Tomcat. See Extending and Localizing VIVO
...
Overview
Content Tools