Automatically capture events from your website.
Autocapture allows you to automatically collect various user interactions and events from your website without writing any custom code. By enabling different autocapture settings, you can gather valuable analytics data with minimal setup.
You can configure autocapture settings in your project settings. Each feature can be enabled or disabled independently to match your specific needs.
Autocapture settings in your project dashboard
Automatically captures when users visit your pages. This feature is enabled by default and provides essential analytics about:
Specifically designed for Single Page Applications (SPAs), this feature automatically captures page views by intercepting:
history.pushState()
callshistory.replaceState()
callspopstate
events)You don’t need to enable this feature if you’re manually integrating the Edgee React SDK.
Measures how users actively engage with your pages by tracking:
The engagement time is calculated from the moment the page loads until the user leaves or switches tabs.
Measures how users consume your content by:
The scroll depth is calculated as: (window.scrollY + window.innerHeight) / document.body.scrollHeight
Automatically captures interactions with clickable elements including:
<button>
)<a>
)<form>
)<input>
)<select>
)<label>
)For each click event, it collects:
target-tag
)target-id
)target-class
)target-text
)target-href
)target-value
)Monitors form interactions across your website, capturing:
The SDK automatically filters out sensitive data by:
cc
, cardnum
, ccnum
, creditcard
, csc
, cvc
, cvv
, exp
pass
, pwd
routing
, seccode
, securitycode
, securitynum
socialsec
, socsec
, ssn
For security and privacy, sensitive data such as:
For security and privacy reasons, Edgee carefully limits what data is captured from input fields. By default, we only collect non-sensitive attributes like name, id, and class from input elements. This helps prevent accidental collection of sensitive user data. If you need to capture additional input field data, we recommend using custom events where you have full control over what gets tracked.
If there are specific elements you don’t want to capture click or form submission events from, add the data-edgee-no-autocapture
attribute or class to those elements.
This will prevent capturing both the element itself and all of its children. For example:
data-edgee-no-autocapture
to a button will prevent capturing clicks on that buttondata-edgee-no-autocapture
to a form will prevent capturing both form submissions and clicks on any fields within that formdata-edgee-no-autocapture
to a div will prevent capturing any click or form events from elements inside that divYou could also add the class edgee-no-autocapture
to the element if you don’t want to use the attribute.
To test autocapture:
While autocapture provides out-of-the-box event tracking, you can also:
data-edgee-no-autocapture
attribute or edgee-no-autocapture
class