Loading…

Integration

Events & automatic capture

Contextual clicks with suggested names (Key actions), scroll, visibility, and explicit track().

The analytics plugin captures page views, clicks, scroll, and visibility by default. Clicks arrive as contextual events with DOM context and a suggested event name.

Automatic capture

SignalDefaultNotes
Page viewsOnURL, referrer, timing; call page() manually for SPA route changes
Contextual clicksOnButtons, links, role=button, primary inputs; each click includes DOM context and a suggested event name
Suggested event namesOnSDK proposes names (e.g. click_sign_up) on contextual clicks; review and approve in dashboard Key actions to promote them for funnels
Scroll depthOn25%, 50%, 75%, 100% thresholds per page
Element visibilityOnWhen tracked blocks enter the viewport
Explicit track() / conversion()OffOnly when you call Tracuto.track or Tracuto.conversion in code—not automatic

Key actions

Suggested names (e.g. click_sign_up) appear on contextual clicks. In the dashboard, open Key actions to review and approve names you want in funnels and reports. Explicit track() is optional for those clicks.

DOM attribute hints

Attributes are optional hints—not required for capture.

AttributeRequiredDescription
data-tracuto-blockNoCMS block id for grouping and visibility hints (does not replace programmatic events)
data-tracuto-elementNoStable element id for crawled layout and analytics correlation
data-tracuto-no-trackNoExclude this subtree from automatic contextual click capture (e.g. when you fire Tracuto.track yourself)
data-tracuto-categoryNoOptional category hint passed through when contextual clicks are recorded
data-tracuto-labelNoOptional human-readable label hint for contextual clustering

Explicit events

javascript
if (window.Tracuto?.isReady?.()) { window.Tracuto.track('cta_signup_click', { category: 'hero', label: 'Get started' }); window.Tracuto.conversion('signup_completed', undefined, { source: 'integration_guide' }); }

We ask before enabling optional analytics (including our own Tracuto script) or marketing cookies. Essential cookies are always used to run the service securely. See our Privacy Policy.