Documentation Index
Fetch the complete documentation index at: https://revlytics.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
Button click tracking
Revlytics automatically tracks clicks on:<button>elements- Elements with
role="button" <input type="submit">and<input type="button">
button_click event with the button’s text content (up to 100 characters).
Elements with a
data-revlytics-event attribute are tracked as custom events instead, preventing duplicates.Form submission tracking
<form> submit events are automatically tracked with:
| Field | Description |
|---|---|
| Form ID | The form’s id attribute |
| Form name | The form’s name attribute |
| Action | The form’s action URL |
| Method | GET or POST |
| Field count | Number of form fields |
Copy event tracking
When a user copies text on your site (Ctrl+C / Cmd+C), acopy event is sent with:
- Copied text — Up to 500 characters
- Text length — Total length of copied text