New in CUX: Mobile Analytics. Analyze real user behavior inside your app. Learn More

Choose a web installation method

Choose a web installation method

Browse topics

On this page

A website project needs its tracking snippet installed before it can collect visits. Use the snippet from the intended project and choose one installation method for each page.

Find the tracking code

Open the website project's Project Settings > Data Collection and copy its Tracking Code. Check Cross-subdomain Tracking if the website spans subdomains.

Do not reuse another project's token or add a second copy of a snippet already installed through a plugin, template or tag manager.

Choose your installation method

  • Google Tag Manager: create a Custom HTML tag, configure its trigger and consent conditions, test in Tag Assistant, then publish the container.
  • Manual installation: have your developer add the code to your website template. The current panel recommends the page's <head>.

Follow the consent conditions and security policy your website needs. If a Content Security Policy blocks the collector or its connections, ask your developer to review the required sources rather than removing the policy.

Check the result

After installation, run a short journey with synthetic data. Find it in Visits in the correct project and date range. Seeing a snippet in page source or a tag marked fired does not prove that data reached the project.

If no visit appears, check web tracking troubleshooting.

For a native app, use the corresponding Mobile SDK instead of this web installation route.