API

Track API

POST/api/track receives pageviews, custom events, heartbeats, and session lifecycle events. Most installs should use the hosted tracker instead of calling this route directly.

Overview

When proxying tracking through your own server, forward x-revlly-real-ip so location data reflects the visitor's IP.