Last updated: August 11, 2026
What is the Siteimprove Analytics Script?
The Siteimprove Analytics Script is a unique JavaScript snippet used to track page views, broken links, and document downloads, among other metrics, on your website. This Script allows Siteimprove to report these metrics for the previous 30 days.
The analytics will show you which resources your site visitors are viewing the most. You can use this information to help you build a remediation plan.
This feature is available at no cost to you and will not affect the performance of your site.
All websites used for UC Berkeley business are required to add the Siteimprove Analytics Script.
This includes:
- UC Berkeley owned or managed sites that end in 'berkeley.edu', '.org', or'.com'.
- Student-managed 'berkeley.edu' sites.
What code do I need to install?
Here is a screenshot of the Analytics Script code to install:

(Note: It is not possible to share a plain text version of this code. We apologize for the inconvenience. You can copy/paste a generic version of the snippet from Siteimprove -- just be sure to add our account code, 6294756, in place of the Xs.)
Where do I put the Analytics Script code?
Learn more about how to get the Siteimprove Analytics script.
Where you put the Analytics Script code will depend on if you host your website on a:
Content Management System (CMS)
Your CMS may have a field specifically for adding tracking code.
This is the easiest method.
Wordpress Site
If you have a Wordpress site, you can install the code using a special plugin. Please use the Workpress plugin that was created for Berkeley site owners to install our analytics code on Wordpress sites.
Please keep in mind:
- Plugins cannot be added to a free Wordpress.com site. You will need to upgrade to a Business level account to meet this requirement.
- If your Wordpress site is hosted on Pantheon, you'll need to add the code to your dev instance, then push it to your test site, then to your prod site.
- Read about the Pantheon workflow.
- Sites that require FTP access may require a different process.
apache2 Web Server
You can add the script globally if you add the substitution module "mod_substitute" to the server configuration, and use a global replacement rule for the </body> tag.
Replace:
</body>
with:<script INSERT ANALYTICS CODE HERE></script></body>
Other websites
Otherwise, if you have access to your website’s HTML, place the script on every page of your site right above the closing body tag, </body>. Here are a few tips for different scenarios:
If you're using Content Security Policy (CSP), you’ll need to add rules to ensure that the data collection will work. For more information about CSPs, review Allowing the tracking script
Frequently Asked Questions
Does this meet security and privacy requirements?
Yes. Siteimprove anonymizes IP addresses and does not collect IP addresses. Siteimprove is also GDPR compliant and uses cookieless tracking
Learn more about Siteimprove's Privacy policies.
Will this work with my Open Berkeley site?
Yes. All Open Berkeley sites have the Analytics Script installed.
Learn more about the Siteimprove + Open Berkeley Integration.
Why isn't my analytics code working?
There are two different types of digital quotation marks:
- ASCII quotation marks [ " ] appear straight up and down.
- Typographic quotation marks [ “ ] appear curled or diagonal.
ASCII quotation marks are needed for the analytics code to work. Sometimes when you copy + paste the analytics code into your CMS, ASCII quotes are replaced with typographic quotes. Using typographic quotes will prevent the code from working.
Replacing the typographic quotation marks with the ASCII quotation marks will fix this issue.

Where can I find the analytics data?
For web page views:
To view the number of views for your web pages, navigate to:
Quality Assurance > Inventory > Pages
The ‘Page views’ column will show you how many visits there have been to a particular page in the past 30 days.
For clicks on documents:
To view the number of clicks on your documents, navigate to:
Quality Assurance > Inventory > Documents > All documents
The ‘Clicks on documents’ column will show you how many times a document has been selected in the past 30 days.
For clicks on broken links:
To view the number of clicks on broken links, navigate to:
Quality Assurance > Links > Broken links
The ‘Clicks on links’ column will show you how many times a link has been selected in the past 30 days.