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 Analytics → Connectionsin your dashboard, then click Connect next to Website tracking. Pick where your site is built (WordPress, Webflow, Shopify, Wix, GoHighLevel, Sanity, Framer, Squarespace, a custom-built site or anything else) and you get exact steps with your ID already filled in. Building a custom site with an AI coding assistant? Copy the one prompt under "Custom Built Site" and it does everything below — including AI-crawler tracking — for you.
2. Add the tracking script
Paste this into the <head> section of every page you want tracked:
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. The Connections popup checks automatically and turns green as soon as the first real visit arrives, and it then shows up on the Analytics page within seconds. You can also click "Send test pageview" to see the charts populate first — test events never mark your install as connected.
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.
- From AI answers — visitors who clicked through from ChatGPT, Perplexity, Claude, Gemini and similar. Detected from the referrer, or the
utm_sourcethat ChatGPT appends to the links it shows.
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.