Autocapture Setup#
Autocapture allows you to start collecting behavioral data—such as page views, clicks, input changes, and form submissions—using a simple JavaScript snippet. It requires no manual event creation and automatically tracks interactions on new or updated components in your frontend.Autocapture is useful when you restructure your website or introduce new UI elements, as the tracking continues without needing changes in your codebase.
Steps to Enable Autocapture#
1.
Go to Integrations → Sources
3.
Under the Installation section, copy the JavaScript snippet that includes the script tags and initialization function
Installing the Snippet#
Paste the snippet into your site’s HTML:First block → inside the <head> tag
Second block → just before the closing </body> tag
This should be added to a base or template HTML page that loads across your site, ensuring all possible user interactions are captured.
What Autocapture Tracks Automatically#
Once installed, autocapture tracks interactions such as:Interactions with button, form, input, select, textarea, and label tags
All captured events are sent automatically to Intempt for analysis.
Important Notes#
Replace "YOUR_API_KEY" in the snippet with the API key created earlier.
For full installation details, refer to the Web snippet installation guide.
Autocapture Limitations#
While autocapture is powerful, it has two limitations:1. High-volume events can be overwhelming#
Every click, input change, or form submission is tracked. Without proper filtering or segmentation, the live events table may contain large volumes of data that can be hard to interpret.2. Autocapture is general-purpose#
It captures broad user interactions but may not fully represent the specific behaviors important to your product.
For advanced analytics, custom events should be added later to track the exact actions you care about.Modified at 2025-12-03 10:32:25