Getting Started
Track Clicks and Outbound Links
Revlly automatically tracks useful clicks without requiring every button to be annotated. Plain internal links are ignored by default, while buttons, auth redirects, and external HTTP links are captured as auto_click events.
Named clicks
Use named clicks when a specific interaction should become a clean goal or funnel step.
html
<button data-revlly-click="hero_cta"> Start free</button>You can also send named clicks manually:
js
window.revlly.trackClick("extract_transcript", { placement: "hero",});Text-based click goals
For pages you do not want to edit, create a Click Goal with:
| Field | Value |
|---|---|
| Event name | auto_click |
| Property | text |
| Operator | contains |
| Value | extract |
Text matching is case-insensitive. extract, Extract, and EXTRACT all match the same button text.
Outbound links
Automatic external link clicks are stored once as normal click events, and Revlly derives outbound link analytics from their tracked href. If you need to record a non-DOM outbound action, call:
js
window.revlly.trackOutbound("https://partner.example.com", "Partner CTA", "hero");