Add a tracking script, for example from an analytics or marketing tool, to your website.
Before you start
- You need the script code from your provider.
- Header scripts work on your website only, not in your mobile apps.
- Only add scripts from trusted providers, and check that your privacy policy and cookie consent cover the tool.
Add the script
- Go to App editor › Header scripts and click Add script.
- Enter a Name, for example the name of the tool.
- Paste the code into Script content exactly as your provider gives it to you (max. 50 KB).
- Make sure Active is turned on, and select the websites under Apps / Websites.
- Click Add script.
The script appears in the list and is injected into the selected websites for every visitor. To pause it later without deleting it, turn off Active.
Tips
Check that data arrives. After adding or changing a script, open your website in a private (incognito) window and check in your provider's tool that data arrives.
Next, reach your app users directly, see Send a push notification.