Overview

Welcome to the Palace Tracker documentation!

What is Palace Tracker?

Palace Tracker is a lightweight, privacy-focused analytics tracking script that provides essential insights into user behavior on your website. It automatically tracks pageviews, 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, multi-platform support, custom event tracking with data attributes, and privacy-compliant data collection.

Getting Started

To get Palace Tracker up and running:

  1. Add the tracking script to your code
  2. Configure the data attributes
  3. View your analytics data

Key Features

  • Privacy-focused - No cookies required and we don't store personaly identifiable information (PII) on users
  • Automatic pageview tracking - No additional code needed
  • Lightweight - Minimal performance impact
  • Custom event tracking - Track button clicks, form submissions, and more
  • Scroll depth tracking - Measure how far users scroll on each page
  • Time on page tracking - Automatic session duration measurement