Documentation

Quick start

From zero to live numbers in a few minutes: create a site, install the tracker, watch the first pageview arrive.

From zero to live numbers

Three moves: create a site, add one script tag, open your site once. The whole thing takes a few minutes, and the dashboard confirms itself the moment your first visit lands. Here is each step.

Create a site

DashboardAdd site

Sign in and add your site with a name and its domain. The dashboard hands you a tracking key that looks like oa_pk_… and the exact snippet to paste.

The tracking key is public by design: it can only write events, never read anything, so it is safe in your page source.

Install the tracker

The fastest path is the CLI, from your project folder:

Terminal
npx getopen init

It detects your framework, asks for the tracking key, and writes the snippet into the right file itself. Prefer to do it by hand, or on a hosted platform? Paste the snippet into your site's <head>:

index.htmlhtml
<script
  async
  src="https://c.getopen.so/oa.js"
  data-key="YOUR_TRACKING_KEY"
  data-collector="https://c.getopen.so"
></script>

Per-framework file locations, and the next/script way for Next.js, are in the installation guides.

Watch the first visit arrive

DashboardSiteRealtime

Open your site once, then look at the dashboard. The install step flips to done on its own, and the realtime view shows your visit within seconds. Historical charts follow moments later; the pipeline typically lands an event in about two seconds.

Nothing showing up?

The troubleshooting page walks the three usual causes: a wrong key, a caching layer serving old HTML, and an origin allowlist that does not include the host you are testing from.

Where to go from here