Documentation

Everything you need to know about integrating PulseStat into your application.

Quickstart

Get up and running in less than 5 minutes.

Read Guide

API Reference

Detailed documentation of all PulseStat methods.

View API

Frameworks

Specific guides for Next.js, React, Vue, and more.

Browse Guides

Custom Events

Learn how to track custom user interactions.

Learn More

[01]Introduction

PulseStat is a lightweight, privacy-focused analytics platform. Our script is less than 1KB gzipped and doesn't use cookies, making it fully compliant with GDPR, CCPA, and PECR without needing a consent banner.

[02]Quickstart

The easiest way to get started is by adding our snippet to the <head> of your website.

<script defer data-website-id="your-website-id" src="https://pulse-stat.ramnivas.in/script.js"></script>

[03]Next.js App Router

If you are using Next.js App Router, you can create a dedicated component to load the script.

import Script from 'next/script';

export function Analytics() {
  return (
    <Script
      defer
      data-website-id="your-website-id"
      src="https://pulse-stat.ramnivas.in/script.js"
    />
  );
}

Then include it in your app/layout.tsx file:

import { Analytics } from '@/components/Analytics';

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body>
        {children}
        <Analytics />
      </body>
    </html>
  );
}