What is the Siteimprove Analytics Script (previously known as "Priority Script")?
Adding this script to your website will enable Siteimprove to provide you with Traffic Analytics data for your site. Although the full Marketing Analytics suite has an additional cost, using this script will provide you with some data about the prior 30 days at no additional cost:
- Number of PDF (or other document) downloads
- Clicks on broken links
- Page views
Note: Using this script will not affect the performance of your site.
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 incovenience. 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?
Your Content Management System may have a field specifically for adding tracking code. This is the easiest method.
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.
- If you have a Wordpress site, the easiest method may be to install the code using a special plugin. There is a WP plugin that was created especially for Berkeley site owners to install our analytics code on Berkeley Wordpress sites.
-
If you're using 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>
Is this required?
Yes, going forward the Digital Accessibility Program will require that all sites that are in scope of the Consent Decree (Berkeley.edu sites) install the Analytics Script.
What about security and privacy requirements?
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! As of October 14, 2024, all Open Berkeley sites will use the Analytics Script. Learn about Siteimprove integration with Open Berkeley websites.
What are the benefits?
The analytics provided will show you which pages and documents your website visitors are using the most. You can use this information to help you prioritize remediation.
Currently, we are using Siteimprove’s Accessibility module. If Berkeley decides to purchase the Marketing Analytics Module, your site will be ready!
Why isn't my analytics code working?
- Sometimes, content management systems add two sets of quotation marks to the code. This will prevent the code from working.
- There are two different types of digital quotation marks:
- ASCI quotation marks [ " ] appear straight up and down-- these are the type needed in the analytics code.
- Typographic quotation marks appear curled or diagonal [ “ ]. Sometimes when you copy/paste from place to place, ASCI quotes are replaced with typographic quotes. Using these will prevent the code from working.
Where is the traffic analytics data?
To view the number of page views for your web pages, go to Quality Assurance, then Inventory, then Pages. There is a Page views data column:
To view the number of clicks on your documents, go to Quality Assurance, then Inventory, then Documents. There is a Clicks on document data column:
To view the number of clicks on broken links, go to Quality Assurance, then Links, then Broken links. There is a Clicks on link data column: