Welcome to the Palace Tracker documentation!
Palace Tracker is a lightweight, privacy-focused analytics tracking script that provides essential insights into user behavior on your website. It automatically tracks pageviews, custom events, scroll depth, and time spent on pages.
The tracker is designed to be simple to install, requiring just a single script tag in your HTML. It uses the sendBeacon API for reliable, fire-and-forget event tracking that doesn't impact page performance.
Key features include automatic pageview tracking, SPA support, custom event tracking with data attributes, click coordinate tracking, and privacy-compliant data collection.
To get Palace Tracker up and running: