Installation guides
All guides
Add one line to your site to start counting visitors and AI referrals.
The script is a single tag, under 2 KB, with one first-party cookie. Find your site's snippet (with its key filled in) during setup, or under Settings → API / MCP → Site keys.
Watch · 14s
Paused0s
1/3Copy your site's snippet from Settings → API / MCP → Site keys.
Add the snippet
Paste it in the <head> of every page.
html
<script defer src="https://statsip.com/t.js" data-site="fb_your_site_key"></script>Check it works
- 1
Visit your site
Open it in a new tab, like any visitor would.
- 2
Open Traffic
The yellow “Awaiting the first event” box disappears and your visit shows up within a few seconds.
- 3
Nothing yet?
See Troubleshooting.
What it records
- One page view per URL, including page changes in single-page apps.
- The referring site, UTM tags and screen width (to tell mobile from desktop).
- A random visitor id kept in one first-party cookie (
statsip_vid, one year, on your own domain). It holds nothing personal and is only used to count returning visitors and match payments to the visit that brought the customer in. If cookies are blocked, StatSip falls back to an anonymous id that resets every day. - Bots and crawlers are ignored.
Something unclear or missing? Tell us.