Documentation menu

Quick start

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

1. Create a site

Sign in and add your site: a name and its domain. The dashboard hands you a tracking key (it 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.

2. 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 doing it by hand, or on a hosted platform? Paste the snippet into your site's <head>:

<head>
<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 are in the installation guides.

3. Watch the first visit arrive

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.

4. From here

Name the actions you care about with custom events (one HTML attribute is enough), connect Stripe revenue, or share a public dashboard with your team or your audience.