With Header Scripts you add tracking scripts, for example from an analytics or marketing tool, to your website. The scripts are injected into the website (web player) you select.
Important: Header scripts work on your website only. They are not added to your mobile apps.
Before you start
Script content is injected directly into your website and runs for every visitor. Only add scripts from trusted, verified providers, and check that your privacy policy and cookie consent cover the tool you add.
The script list
Go to App editor › Header scripts. The page lists all your scripts. Use the search field to find a script by name. As long as no script exists, the page shows No header scripts yet.
Add a header script
- Click Add script.
- Enter a Name (required), for example the name of the tool.
- Paste the code into Script content (required) exactly as your provider gives it to you.
- Under Apps / Websites, select the platforms whose website the script is added to.
- Click Add script.
The maximum size of the script content is 50 KB; the counter below the field shows the current size. For a step-by-step walkthrough, see Add a header script.
Pause a script
When Active is turned on, the script is injected into your website. Turn it off to pause a script without deleting it.
Tips
Check that it works. After adding or changing a script, open your website in a private (incognito) window and check in your provider's tool that data arrives.