Web Analytics
Privacy-first analytics for your website — live visitors, pageviews, visit duration, and bounce rate.
Web Analytics Setup Guide
1. Get your Website ID
Open the Web Analytics tab in your dashboard — your site's ID is shown there, and gets substituted into the snippet below automatically.
2. Add the tracking script
Paste this into the <head> section of every page you want tracked:
<script src="https://www.rankongeo.com/track.js" data-site="YOUR_SITE_KEY" defer></script>
The script sets a first-party cookie to distinguish visitors and sessions, then sends one pageview event per page load. No cross-site tracking, no third-party cookies.
3. Confirm it's working
Visit a page on your site, then check the Web Analytics tab — a pageview should show up within a few seconds. You can also click "Send test event" in the dashboard to see the layout populate before deploying the script.
Metrics explained
- Live Visitors — distinct visitors seen in the last 5 minutes.
- Visitors — distinct visitors in the last 30 days.
- Pageviews — total page loads in the last 30 days.
- Visit Duration — average time between a session's first and last pageview.
- Bounce Rate — share of sessions with only a single pageview.
Debugging
Not seeing data?
- Confirm the script tag's
data-sitematches the Website ID shown in your dashboard. - Open your browser's network tab and confirm a request to
www.rankongeo.com/api/track/pageviewis firing and returning 200. - Ad blockers occasionally block analytics scripts by name — this is a known limitation of any client-side analytics tool.