Get Started in 4 Steps

Set up DataSaaS analytics on your website in minutes. Track your traffic, find your best marketing channels, and connect it all to revenue. Here's how to get started:

1/ Install the tracking script

Add the DataSaaS tracking script to your website. Paste this snippet inside the <head> tag of every page you want to track:

<script
  defer
  data-website-id="YOUR_WEBSITE_ID"
  data-domain="yourdomain.com"
  src="https://yourdomain.com/js/script.js"
></script>

Replace YOUR_WEBSITE_ID with the ID you receive when adding your website, and yourdomain.com with your actual domain.

Tip:The tracking script is lightweight (~2KB gzipped), has zero external dependencies, and won't slow down your website. It loads asynchronously with the defer attribute.

Need a platform-specific guide? See the HTML / Script Tag or Next.js installation guides.

2/ Verify your installation

After installing the script, visit your website and go back to DataSaaS. During onboarding, DataSaaS automatically checks for incoming events. You should see a green checkmark within a few seconds confirming everything is working.

You can also verify manually:

  1. Open your website in a browser
  2. Go to your DataSaaS dashboard
  3. Check if the realtime visitor count shows at least 1 visitor

Note: Events from bots, headless browsers, and visitors with Do Not Track enabled are automatically filtered out.

3/ Connect your revenue source (optional)

This is what makes DataSaaS different. Connect your payment provider to see which marketing channels actually drive paying customers — not just traffic.

Supported providers:

  • Stripe — Checkout API, Payment Links, PaymentIntent
  • LemonSqueezy — Checkout API, Payment Links
  • Polar — Checkout API, Checkout Links
  • Paddle — Checkout API, Overlay Checkout

Go to Dashboard → Settings → Revenue to connect your provider with an API key. See the Connect Payment Providers guide for detailed instructions.

4/ Explore your dashboard

Once events start flowing in, your dashboard lights up with real-time insights:

  • Visitor trends — Area chart showing traffic over time with comparison to previous period
  • Traffic sources — Where your visitors come from (referrers, UTM campaigns, channels)
  • Top pages — Most visited pages, entry pages, and exit links
  • Locations — Country, region, and city breakdown with flags
  • Technology — Browser, OS, and device type distribution
  • Goals & engagement — Custom event tracking with conversion rates
  • Realtime map — Live globe visualization of current visitors

Next steps

Once you're set up, explore these features to get the most out of DataSaaS:

Go to your Website Settings to find all the settings and features of DataSaaS.