Pubber Analytics
What it measures, how it counts readers, and installing it on its own.
Pubber Analytics is the free half of Pubber: traffic analytics for your site, cookieless by default, with crawlers left out. It doesn't need Pubber Ads and it isn't reviewed: it starts as soon as you show us the site is yours.
Install it on its own
Sign up and choose Analytics, then add the analytics tag to your site's <head>. Your portal has it with your site key filled in.
<script async src="https://pubber.io/v1/pubber-analytics.js" data-site="YOUR_SITE_KEY"></script>This tag is the analytics module alone, about 5 KB gzipped. It loads asynchronously, after your page, and never changes what readers see. Platform-by-platform steps are in Installing the tag; it goes wherever the full tag would.
Then verify the site. Installing the tag is one way: once it has run on a page of your domain, Check now in your portal passes. Analytics start from the next page view.
What it measures
- Views and visitors. Page views; unique views, where a reader's views of one page on one day count once; and visitors, counted daily.
- Where readers come from. Each view's source: search, paid search, social, email, campaign, another site, another site of your network, your own pages, or direct; and the sites that sent readers.
- Reading. How long each view was read (while the tab was visible) and how far down the page it scrolled.
- Clicks. The links and buttons readers click, the heading above them and where on the page, which draws your click map: open a page in your portal's analytics and every click in the range is drawn over the page itself.
- Devices. Desktop, mobile or tablet, from the browser and the window's width.
Paid search
A view that lands with a Google or Microsoft ad click id on its address (gclid, gbraid, wbraid, msclkid), or with a paid campaign medium such as utm_medium=cpc, counts as paid, apart from organic search. The tag sends only that a click id was present, never its value.
Crawlers
Requests from browsers that call themselves crawlers are dropped. Browsers driven by a program, those that say they are automated or headless and those on data-center networks, are recorded as crawlers: you see how many, and they are left out of every other count.
Pages that don't count
- An app page of your site (an editor, an account page, a form) can say so with
<meta name="pb-page" content="app">; the tag records nothing on it. - Your own visits: open your site once with
?pubber=nostatson the address and that browser is left out until you visit with?pubber=stats. This stores one flag in your own browser (see Cookieless mode).
Single-page apps
The tag counts the page it loads on. If your site changes pages without reloading, call window.pubber.pageview() after each navigation. See the JavaScript API.
Privacy
A site that signs up for analytics alone is cookieless: the tag writes nothing to the reader's browser, readers are recognised for a day at most, and no IP address is kept. Cookieless mode lists exactly what is stored, for how long, and what changes if you turn it off.