# 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](https://supranalytics.app/docs/script-configuration.md). Platform guides: [Next.js](https://supranalytics.app/docs/nextjs.md), [React](https://supranalytics.app/docs/react.md), [Vue](https://supranalytics.app/docs/vuejs.md), [Astro](https://supranalytics.app/docs/astro.md), [WordPress](https://supranalytics.app/docs/wordpress.md), [Webflow](https://supranalytics.app/docs/webflow.md), [Framer](https://supranalytics.app/docs/framer.md), [Shopify](https://supranalytics.app/docs/shopify.md) and [more](https://supranalytics.app/docs/installation.md).

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](https://supranalytics.app/docs/ai-builders.md)).

**2. Link revenue to traffic**

[Connect your payment provider](https://supranalytics.app/docs/connect-payment-provider.md) (Polar, Stripe, Lemon Squeezy or the Payment API), then [pass the visitor id to your checkout](https://supranalytics.app/docs/revenue-attribution.md). 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](https://supranalytics.app/docs/custom-goals.md).

## Next steps

- [Get past ad blockers](https://supranalytics.app/docs/managed-proxy.md): Serve the script from your own domain.
- [Track your campaigns](https://supranalytics.app/docs/tracking-parameters.md): UTM tags and ref links.
- [Build a funnel](https://supranalytics.app/docs/conversion-funnels.md): See where visitors drop off.
- [Invite your team](https://supranalytics.app/docs/team.md): Members and viewers.
- [Share your stats](https://supranalytics.app/docs/public-dashboards.md): A read-only public dashboard.
- [Ask Claude](https://supranalytics.app/docs/mcp.md): Your analytics over MCP.

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](https://supranalytics.app/docs/plans.md).

---

This page on the web: https://supranalytics.app/docs/getting-started
Every documentation page: https://supranalytics.app/docs.md
