Get started

Get started in 3 steps

Install the tracking script, link revenue to traffic and track your first goals.

Set up SuprAnalytics on your website in a few minutes and find the marketing channels that bring paying customers. Here's how, in three steps.

  1. Install the tracking script

    On the dashboard, Add website. Then paste the snippet from Settings → General in the <head> of every page:

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

    Need to change how it works, like tracking localhost or hash routes? See Script configuration. Platform guides: Next.js, React, Vue, Astro, WordPress, Webflow, Framer, Shopify and more.

    Using a coding agent like Claude Code or Cursor? Copy the setup prompt from Settings → General → AI agent instead: it installs the script, goals and revenue attribution for you (more).

  2. Link revenue to traffic

    Connect your payment provider (Polar, Stripe, Lemon Squeezy or the Payment API), then pass the visitor id to your checkout. Every payment is then tied to the source, campaign and pages that produced it.

  3. Track your key actions (optional)

    Signups, trial starts, newsletter subscriptions: anything that matters. SuprAnalytics shows each goal's conversion rate and the revenue of those who completed it.

    window.supr("signup", { plan: "pro" });

    Or without code: <button supr-goal="signup">. See Track custom goals.

Next steps

Every setting lives in the website's settings: the gear next to its name on the dashboard. Your plan and usage are on Usage & Billing in the account menu; see Plans & billing.

AI agent or LLM? Read this page as Markdown