Blogs, docs and marketing sites
Pages, sources, Google searches and reading depth
You publish: a blog, product docs, a landing page, a marketing site. You want to know which pages people read and how far, where they come from (search, social, AI assistants, your newsletter), what they searched on Google to find you, and which links send them away. All of it comes from one script tag, with no cookies.
Who it's for
Writers, marketers, developer-relations and docs teams, and anyone whose site is mostly pages to read.
What you get
| Feature | What it answers | Guide |
|---|---|---|
| Pages | Top, entry and exit pages, time on page and scroll depth; page groups such as /blog/* | Pages |
| Sources | Channels (search, social, AI assistants, email), referring sites and UTM campaigns | Sources |
| Search Console | The Google queries and pages that brought visitors, with clicks, impressions and position | Search |
| Scroll depth | How far down each page people read, sent on its own | Pages |
| Outbound links and file downloads | Which links and files people click, sent on their own | Events |
| Broken pages and site search | 404s and the pages that linked to them; searches with no results | Journeys, broken pages and search |
| Heatmaps | Where people click and how far they scroll, on an extra script | Heatmaps |
| Email reports | Last week's numbers every Monday, to anyone | Email reports |
Set it up
Add the script
Copy the snippet from Analytics → Install into the
<head>of every page:index.html1<script defer src="https://us.api.vk.viabio.me/v1/a.js" data-project="pk_live_us_…"></script>The Install screen also has snippets for WordPress, Shopify, Webflow and the frameworks. Page views, engaged time, scroll depth, outbound links and file downloads are now sent on their own.
Mark your 404 page
On a static not-found page, add
data-404to the script, so broken links show in Broken pages with the pages that linked to them:404.html1<script defer src="https://us.api.vk.viabio.me/v1/a.js" data-project="pk_live_us_…" data-404></script>Tag the links you share
Add UTM parameters to links in newsletters, posts and ads. They show on the Sources page's Campaigns card:
1https://yoursite.com/blog/launch?utm_source=newsletter&utm_medium=email&utm_campaign=novemberConnect Google Search Console
Open Analytics → Search and click Connect Google Search Console, then pick the property and click Import this property. The last few days arrive within the hour, and your history (as far back as your plan keeps, up to 16 months) within a day.
Group pages and count sign-ups
In Analytics → Settings → Page groups (or Edit groups on the Pages screen's card), save groups such as
Blogfor/blog/*andDocsfor/docs/*; the Pages screen then shows each group's views, visitors, time on page and exits. If you have a newsletter form, send an event when it succeeds and make it a goal in Analytics → Goals:newsletter.js1viakite.track("Newsletter signup", { form: "footer" });Get the weekly report
In Analytics → Analytics settings → Email reports, switch on Weekly report and add the addresses. Every Monday at 9:00 they get visitors, page views, bounce rate and visit duration against the week before, with the top 5 pages and sources.
What to watch
- Scroll depth and time count only page views with engagement: someone who leaves within a second sends none.
- Search Console is Google's numbers. It doesn't know your visitors, so the page's other filters don't apply to it, and Google leaves out rare queries.
- Outbound links and downloads show as events on the Events page; they have no report of their own yet. Turn them off with
data-outbound="false"ordata-downloads="false". - Heatmaps need a second script,
h.js, next toa.js; see Heatmaps. - Your plan. Free counts 1M events a month and keeps 30 days; Pro 5M and a year. See Plans and billing.