How it works
Madinco Hub turns a lightweight browser script into the metrics you see in the dashboard. Here’s the path a page view takes.
The tracker
Section titled “The tracker”When a page loads, the tracker script sends a small, anonymous payload describing the view:
- The URL path and page title.
- The referrer (where the visit came from).
- Screen size, language, and a coarse device type.
- A derived country, from the IP address — which is never stored.
That’s it. No cookies are set, and no identifier is persisted on the visitor’s device.
Visitors, visits, and views
Section titled “Visitors, visits, and views”Three counts describe traffic, from broad to narrow:
- Views — every page load.
- Visits — a sequence of views by the same person in one sitting (a session).
- Visitors — the number of distinct people.
Because Madinco Hub doesn’t use cookies, a visitor is counted using a rotating, privacy-preserving hash of non-identifying signals that resets daily. It’s accurate in aggregate without tracking anyone across days.
Beyond page views
Section titled “Beyond page views”The same tracker powers the other modules:
- Events — you call
mad.track(...); the event is attached to the current visit. - Performance — the tracker reads the browser’s Web Vitals and reports them.
- Real-time — recent views are held briefly so the dashboard can show who’s online now.
Uptime is measured separately, by probes that request your endpoints from multiple regions on a schedule.
What “no sampling” means
Section titled “What “no sampling” means”Every event is counted. Madinco Hub never throws away a percentage of your traffic to keep costs down, so the numbers in your dashboard are the real numbers.