MM 6.0 Tracking code injection
WARNING: ONLY INSERT CODE FROM TRUSTED SOURCES
The snippets you specify, are inserted into the index.html page as is, without any sanitation.
Ensure your snippets are valid and safe HTML/JavaScript
To add 3rd party tracking code to your site, go to
Settings > Portal Config Manager > Configuration > Tracking code
Copy your code snippets into the provided fields.
Tracking code for <body> tag
Ensure your snippet is valid and safe HTML! Your code will be placed after the opening <body> tag of the index.html pageTracking code for <head> tag
Ensure your snippet is valid and safe JavaScript, wrapped in a <script> tag. It will be placed in the <head> tag of the index.html page
Tick ‘Inject tracking code’ to enable and save your changes
Whitelisted CSP URLs
In the Deployment manager, go to your site and add any 3rd-party urls, that your code snippets are communicating with and re-deploy.
Test your site
Navigate to your site and check the browser console and network requests for any errors