Skip to content

Custom events

Track signups, clicks and any other action.

realific('signup', { plan: 'pro' });
// or
realific.track('signup', { plan: 'pro' });

Up to 20 properties per event; keys up to 64 characters and values up to 255 characters (strings, numbers, booleans).

Before the script loads

<script>window.realific = window.realific || function () { (window.realific.q = window.realific.q || []).push(arguments); };</script>

Calls are queued and replayed once r.js loads.

Declarative events

No JavaScript needed: add data-realific-goal to any element. Extra data-realific-goal-* attributes become properties.

<button data-realific-goal="cta_click" data-realific-goal-location="hero">Start free</button>

Automatic events

Outbound link clicks (outbound) and file downloads (download) are tracked automatically. Turn them off per site in Settings → Tracking, or with data-no-outbound / data-no-downloads.