This article gives information on how to add the script to your website.
Notes:
This section gives information about the steps for Admin users to set up the script.
Click Admin Settings (gear icon) on the top menu bar of any page in the platform. The Domain Settings page opens.
Click Action on the same row as the domain to scan.
Select Script Setup Guide in the drop-down list. The Domain Setup page opens.
Enable Statistics: Toggle the switch ON.
For more information, see the user guide articles:
Document Extension: Enter the document extension text, for example, PDF or doc (no preceding period is needed) to identify the document extension to include. Click + to add a new row for each document extension.
The extensions are case-sensitive.
PageAssist: Turn the switch ON to enable this feature.
For more information, see the user guide article:
PageCorrect: Turn the switch ON to enable this feature.
For more information, see the user guide article:
Heatmaps: Turn the switch ON to enable this feature.
For more information, see the user guide article:
Acquia Optimize Consent Manager: Turn the switch ON to enable this feature.
For more information, see the user guide articles:
Inside the script section, click Copy Script (icon of two papers) to copy the script.
The script is unique for each domain. It will not work to copy/paste from one to another. Websites ending in .com and .eu, for example, are considered different domains and it does not work to copy/paste the script. The script needs to be configured separately for each domain.
With Consent Manager, be sure to add HTML attributes.
HTML attributes must be added to content elements on your website if you only want them to load once a cookie consent choice has been provided by the visitor. For example, if you are using Google Analytics on your website and only want the script to load once a visitor has accepted Statistics cookies, you will need to mark up the Google Analytics script with an HTML attribute.
For more information and instructions, see the article:
In the HTML editor, paste the script into the HEAD tag or place it before the </body> tag on every page.
If Consent Manager is activated, the script must be in the HEAD tag in order to catch the cookies.
Open the Domain Settings page (gear icon). The column Script shows the message Script Installed.
Place the script on the pages to track - normally every page of the website.
In the CMS (or the website template files), add the copied code to the HEAD tag or place it before the </body> tag.
For PageAssist, PageCorrect, Heatmaps, and Consent Manager, toggle those options ON (if available) and configure them, and then copy the script.
For more information, see the user guide articles:
Consent Manager.
Notes:
HTML attributes must be added to content elements on your website if you only want them to load once a consent choice has been provided by the visitor. For example, if you are using Google Analytics on your website and only want the script to load once a visitor has accepted Statistics cookies, you will need to mark up the Google Analytics script with an HTML attribute.
See the article:
For more information, see the user guide article:
The script is unique for each domain. It will not work to copy/paste from one domain to another. Websites that end in .com and .eu, for example, are considered different domains and it does not work to copy/paste the script. The script needs to be configured separately for each domain.
Tip: It is also possible to insert the code just before or after any Google Analytics™ script or other utility scripts. After installation, browse the sites and make sure that the script loads correctly.
This section gives advanced instructions on how to set up the script under special circumstances.
This section gives information on how to install the script on a website that deploys with a CMS.
Most modern CMS systems provide an easy way to add custom scripts to web pages. Include the script in the page header, so that the snippet appears before the closing </head> tag on every web page of the site that needs to be tracked. Refer to the CMS manual or ask for help from the CMS vendor for instructions on how to install custom scripts on all pages. If there is a guide for the CMS that describes how to install the Google Analytics™ script, this guide may also be used to install the script.
When the script is installed, errors are highlighted on the page where they occur. If you have access to the Analytics module, statistics are shown immediately.
If a CMS is selected during the scan configuration and a domain with the same selected CMS exists on the account, the domain will automatically have any source code exclusions applied to it.
For advanced instructions for developers on how to install the script on a website that deploys with a CMS, see the article:
For more information, see the user guide article:
This section gives instructions on how to install the script on a dynamic website.
A dynamic website generates HTML with a programming language such as Python, Ruby, PHP, or similar.
Add the script to the source code on every webpage that needs to be tracked. Alternatively, use a common include or template to push the script dynamically onto every page.
Paste the script into its include file, then include it in the page header. The snippet appears before the closing </head> tag on every page of the site that needs to be tracked.
This section gives instructions on how to install the script on a static website.
Copy and paste the script so that the snippet appears before the closing </head> tag on every page of the site that needs to be tracked.
Notes:
This section provides a link to the full instructions on how to add custom scripts to Google Tag Manager.
For instructions from Google on how to install Tag Manager, see:
Set up and Install Tag Manager.
For more information and full instructions, see the user guide article:
Google Tag Manager-Monsido Deployment.
Remember to Publish from within Tag Manager after you make any changes.
The Statistics feature normally applies a cookie to the browser that the visitor uses. It is possible to remove this so that we can track the same data from visitors who refuse statistics cookies on the cookie banner. Cookieless tracking requires a separate line of script in the Statistics section.
To gather the same data without a cookie, we rely on other pieces of information such as operating system, browser, browser plugins, user IP address, and browser language to assign a unique ID to each visitor in our systems. The unique ID is only valid for 24 hours and visitor IP addresses are fully anonymized until they are deleted. This makes the solution privacy-friendly and prohibits fingerprinting.
The Statistics feature must be enabled.
For more information, see the user guide articles:
For more information, see also:
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Wed Oct 23 2024 18:06:51 GMT+0000 (Coordinated Universal Time)