Get started in 4 steps

Follow these steps to integrate SaasAnalytics into your website.

1. Add your website

Open your dashboard and click "Add Website". Enter your domain name (e.g., yoursite.com) to generate your unique tracking ID.

2. Add the tracking script

After adding your website, you'll see a tracking script in your dashboard. Copy it and paste it into the <head> section of your website.

html
Loading editor...
Important: Your dashboard provides the complete script with your actual domain and website ID. Simply copy and paste it—no manual editing needed.

3. Deploy your changes

Publish your website to make the script live. The tracker is lightweight (3.5 KB) and won't impact your site speed. It works seamlessly with both traditional websites and Single Page Applications (SPAs).

Privacy-First: The script uses no cookies and is fully GDPR compliant. Visitor IDs rotate daily, and IP addresses are hashed—never stored.

4. Verify installation

Visit your website to trigger the first pageview. Then check your SaasAnalytics dashboard—you should see real-time data appearing instantly.

What you'll see in your dashboard:

  • Active visitors (real-time count)
  • Pageview trends over time
  • Scroll depth metrics
  • Browser, OS, and device breakdown
  • Geographic distribution by country
  • Traffic sources and referrers
  • Top pages and entry/exit pages

What gets tracked

Our tracking script automatically collects comprehensive analytics without requiring any additional configuration:

Pageviews

Tracks initial page loads and SPA navigation via History API hooks.

Scroll Depth

Measures engagement at 25%, 50%, 75%, and 90% scroll points.

User Environment

Browser, operating system, and device type detection.

Geography

Country detection from IP address (hashed, not stored).

Traffic Sources

Referrer tracking and UTM parameter capture (source, medium, campaign, term, content).

Custom Events

Track custom events via CSS classes on your elements.

Outbound Links

Automatically detects and tracks clicks to external links.

Engagement Time

Tracks active time on page (pauses when tab is hidden or inactive).

Privacy & compliance

Built with privacy at its core, our analytics solution respects user privacy while providing powerful insights:

No Cookies

Zero cookies means no cookie banners required and full GDPR compliance.

Daily Rotating Visitor IDs

Visitor identifiers rotate daily (Plausible-style), preventing long-term cross-day tracking.

Anonymized Data Only

IP addresses are one-way hashed and never stored. No personal data is collected.

Lightweight Script

Only 3.5 KB—won't slow down your website or impact Core Web Vitals.

Next steps

Now that you're tracking analytics, explore these advanced features:

  • Set up custom goals to track conversions
  • Create funnels to analyze multi-step user journeys
  • Add custom event tracking via CSS classes
  • Watch real-time visitors on the interactive globe
  • Integrate UTM parameters for campaign tracking