Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

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

...

  1. Copy your code snippets into the provided fields.

    1. 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 page

    2. Tracking 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

  2. Tick ‘Inject tracking code’ to enable and save your changes

  3. 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.

...

  1. Test your site
    Navigate to your site and check the browser console and network requests for any errors

...