This article covers:
- Adding the code manually
- Add the code in your CMS
- Have your website/CMS provider add it
- Add code through a Tag Manager
Reach out to Siteimprove technical support if you have any questions regarding the code.
Note: The 'XXXXX' in the code below represents a numeric code that is specific to your account so Do Not use this exact code.
sz.src = '//siteimproveanalytics.com/js/siteanalyze_XXXXX.js';
var s = document.getElementsByTagName('script'); s.parentNode.insertBefore(sz, s);
Note: We recommend that the script is always added at the bottom of the website in a footer or similar, just before the closing HTML bodytag
Adding the code manually
If you are able to access the HTML of your website or your Content Management System has a field specifically for adding tracking code you will be able add the Siteimprove Analytics code to your site.
Add the code in your CMS
In this instance, you will want to find the file for the footer of your website (in WordPress that is footer.php for example) and place the code above the closing body-tag, </body>
Have your website/CMS provider add it
There can be a cost associated with this so be sure to inquire about fees with your website provider.
Add code through a Tag Manager
Important: Please ensure that the Siteimprove Analytics script is configured to load asynchronous in your Tag Manager.
If we use Google Tag Manager as an example you will want to paste the Tag Manager script on your site first. Once that is done you need to log in to the Tag Manager account and create a new Custom HTML Tag.
In 'Advanced Settings' change 'Tag firing options' to 'Unlimited' (2).
Finally, chose triggering that includes firing script on DOM/page load, like: 'DOM Ready', 'Page View' or 'Window Loaded' (3).
Reach out to Siteimprove technical support if you have any questions.