Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...

  1. Sign up for Google Analytics. Have your page key, your roll-up key and the site domain name of your VIVO production site ready.
  2. 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
  3. Edit googleAnalytics.ftl in the theme you are using. Provide your domain name, your page tracker key, and your roll-up tracker key.
  4. mvn install -Dskiptests=true
  5. 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

...