Skip to content

Measured loss

Ad blockers and privacy browsers stop some browser trackers. Instead of guessing how many, Plaintrace counts the human page loads your server answered and compares them with the full page loads the tracker reported:

loss = 1 − tracked page loads / server page loads
  • handle() counts a page load before your app answers, so redirects and errors count too.
  • For exact numbers, call hits(request, { status }) after the response instead, and set measureLoss: false on the client used for handle().
  • Known bots are left out of the server count, as they are of the tracked count.
  • measureLoss: false turns counting off (it costs one extra collector call per page load).

Without the server SDK, loss is reported as not measured and the trust grade says so.