Overview
The simplest way to add InfiniteWatch to your website — just drop in a script tag. No build tools, no npm install, no configuration files.Installation
Add the following script tag at the end of your HTML<head> section, before the closing </head> tag:
Replace
YOUR_ORGANIZATION_ID with your actual organization ID. You can find this in your InfiniteWatch dashboard.Using Google Tag Manager
If you prefer to load InfiniteWatch via Google Tag Manager, use this snippet instead:Identify Users
After the tracker is initialized, you can associate sessions with specific users using theidentify() method:
Call
identify() after the user logs in. The external_id is persisted in a cookie so it carries across page reloads and sessions.How It Works
Once the script is added, InfiniteWatch will automatically:- Record user sessions and interactions
- Capture DOM events, mouse movements, and clicks
- Generate web insights data
- Send data to your InfiniteWatch dashboard
The script loads asynchronously, so it won’t block your page load.
