How to Set Up Privacy-First Analytics in Under 2 Minutes

February 3, 2026

Most analytics tools require SDK installations, cookie consent banners, privacy policy updates, and complex configuration. Fairlytics requires one line of HTML.

Step 1: Create an Account

Go to your Fairlytics dashboard and register with your email. No credit card required. The free plan covers up to 10,000 page views per month.

Step 2: Add Your Website

Click "Add Website" and enter your domain. Fairlytics generates a unique tracking ID for your site.

Step 3: Paste the Snippet

Copy the tracking snippet and paste it before the closing </body> tag on your website:

<script src="https://app.fairlytics.dev/js/tracker.v1.js"
        data-site="YOUR_TRACKING_ID"
        data-api="https://app.fairlytics.dev"></script>

That's it. The script is 510 bytes gzipped, loads asynchronously, and starts tracking immediately.

What Gets Tracked (and What Doesn't)

Tracked:

NOT tracked:

Works With Every Platform

The snippet works with any website that supports custom HTML:

Optional: Track Custom Events

On Pro plans and above, you can track button clicks, form submissions, and other conversions:

// Track a signup button click
document.getElementById('signup-btn')
  .addEventListener('click', () => {
    fairlytics.track('signup_click');
  });

No Cookie Banner Needed

Because Fairlytics doesn't use cookies and doesn't collect personal data, you don't need to show a cookie consent banner. This is confirmed by the GDPR's ePrivacy Directive — consent is only required for non-essential cookies and tracking technologies that process personal data.

This means cleaner pages, better user experience, and higher conversion rates.


View pricing or read more articles.