Website visitor tracking: what you can (and should) track in 2026

· 6 min read · WhoPaid team

Short answerWebsite visitor tracking records how people find and use your site: where they came from, which pages they viewed, and what they did, such as signing up or buying. A small script on each page sends these events to an analytics tool. The most useful setup connects visits to payments so you can see which sources bring customers.

What to track

DataWhy it matters
Source (referrer, UTM)Shows which channels bring visitors
Landing pageShows which content attracts them
Pages viewedReveals intent, e.g. reading pricing twice
Goals (signup, checkout click)Measures progress toward a sale
PaymentsTurns traffic into revenue per source

How visitor tracking works

  • A script loads on each page and sends a small event (page, referrer, screen size) to the analytics server.
  • A first-party cookie or similar ID recognizes the same visitor on later visits.
  • The server adds approximate location from the IP address, then discards or anonymizes the IP depending on the tool.
  • Events are grouped into sessions and visitors for reporting.

Privacy and consent

Rules depend on where your visitors are. In the EU, storing identifiers on a device can require consent unless strictly necessary. Privacy-friendly tools reduce what they collect, for example by not storing IP addresses, but you should still check what applies to you and say what you collect in your privacy policy.

Common mistakes

  • Counting your own visits. Exclude yourself so test sessions don’t inflate numbers.
  • Tracking everything and reading nothing. Pick the few numbers that change decisions.
  • Losing data to ad blockers. Serving the script from your own domain helps.
  • Stopping at visitor counts instead of following visitors to revenue.

Tools to consider

Google Analytics is free and deep; Plausible is simple and privacy-friendly; WhoPaid follows every visitor from the first click to the payment. See the comparison of web analytics tools.

Frequently asked questions

Can I see who visited my website?

Analytics tools show anonymous visitors, their source, location and pages. You only see names or emails for people who sign up or pay and whom you identify.

Does visitor tracking slow down my site?

A lightweight script (a few KB, loaded with defer) has a negligible effect. Heavy tag managers with many tags are the usual cause of slowdowns.

How do I track visitors from a specific post?

Add UTM parameters to the link. Our free UTM builder makes them in seconds.

Keep reading

See which tweet, post or ad made you money.

WhoPaid links every Stripe or Dodo payment to the source that brought the buyer.