Installation

Tracking code setup

Direct script installation gives you the most control over where and how the ClickSight tracker loads. It is the simplest approach if you can edit your site header or template files.

Installation

Copy the correct tracking snippet

Every project has its own tracking code or project key. Make sure you copy it from the correct ClickSight project before installing.

Tracking code copy screen placeholder

Step by step

  • Open your project in ClickSight.
  • Go to the installation or project settings area.
  • Copy the full tracking snippet exactly as shown.
Installation

Add it to the global site header

The script should load across the pages you want to measure.

Step by step

  • Open the website theme header, template, or code injection tool.
  • Paste the snippet before the closing `</head>` tag.
  • If your platform has separate desktop and mobile templates, make sure the code loads in both.
Installation

Publish and verify

After saving the change, always test the public site rather than assuming the install succeeded.

Step by step

  • Open the public website in a fresh browser tab.
  • Use DevTools Network to look for ClickSight tracking requests.
  • Return to ClickSight and confirm a session appears.