Getting started

Welcome to RevScope! Follow the three steps below and you'll see revenue attribution within minutes of your first sale.

1. Install the tracking script

Add the RevScope script to every page of your site, ideally inside <head>. Replace REPLACE_WITH_PROJECT_NAME with the project name from your dashboard. Project names must be at least 3 characters and may contain only lowercase ASCII letters, digits, and underscores (a-z0-9_). The stub loads the tracker, queues commands until it initializes, then replays them safely.

<script>(function(w,n,u,c){
    if(u&&typeof u==="object"){c=u;u=null}c=c||{};u=u||"https://in.revscope.co/";c.url=u;u+=n+".js";c.project=n;n=typeof c.name==="string"&&c.name||"dispatch";if(typeof w[n]==="function")return;var q=[];function f(){q.push([].slice.call(arguments));}f.q=f.a=q;f.c=c;w[n]=f;var s=document.createElement("script");s.src=u;s.defer=true;document.head.appendChild(s);
  })(window, "REPLACE_WITH_PROJECT_NAME");
</script>

The script is about 7kb gzipped, loads deferred, and won't affect your page download or rendering speed. It automatically tracks pageviews, sessions, engagement time, scroll depth, outbound link clicks, and traffic sources (search, social, AI assistants, campaigns, and referrers) and it works with single-page apps out of the box.

See the tracking script reference for configuration options like ignoring pages or setting a custom hostname.

2. Connect your payment provider

Open Settings → Integrations and connect the provider you use to charge customers. RevScope syncs payments, subscriptions, and refunds automatically — no webhooks to configure.

You can connect more than one provider, and optionally add Google Search Console to see which search keywords convert to revenue.

3. Verify your data

Visit your site in a browser, then open your dashboard. You should see your visit within about 5 minutes (tracking requests are batched). Once your payment provider finishes its first sync, revenue appears in the overview and every payment is attributed to its traffic source.

If nothing shows up, open Troubleshooting to check that the tracker is installed and that ingest is accepting events for your project.

What to do next

Having trouble? Use Troubleshooting, check the FAQ, or reach out — we read every message.