About five minutes, on the free plan, without a credit card.
1
Add the Privytics script to your site
Drop this snippet into your site's head. It loads asynchronously and starts tracking pageviews right away. On WordPress or Ghost you do not need to touch code: follow the Privytics WordPress guide or Ghost guide, which paste the same script through your theme or code-injection settings. Replace YOUR_CLIENT_ID with the id from your project.
<script>
window.op=window.op||function(){var n=[];return new Proxy(function(){arguments.length&&n.push([].slice.call(arguments))},{get:function(t,r){return"q"===r?n:function(){n.push([r].concat([].slice.call(arguments)))}} ,has:function(t,r){return"q"===r}}) }();
window.op('init', {
apiUrl: 'https://api.privytics.com',
clientId: 'YOUR_CLIENT_ID',
trackScreenViews: true,
trackOutgoingLinks: true,
});
</script>
<script src="https://privytics.com/op1.js" defer async></script>
2
See your top posts and referrers automatically
That is the only setup for traffic. Pageviews flow into your dashboard and populate the standard reports with no extra tags. Top pages are your top posts, top referrers show where readers come from, and Realtime shows who is reading right now.
Dashboard > Overview -> Top pages = your best posts
Dashboard > Overview -> Top referrers = where readers come from
Dashboard > Realtime -> live readers on the site right now
3
Optional: track a subscribe or signup
If you sell memberships, courses, or a paid newsletter, fire a custom event when a reader signs up or subscribes. Once the event is flowing, build a funnel from post view to subscribe, and open a reader's Profile to see the full path they took. Skip this step if you only care about traffic.
// Fire when a reader subscribes to your newsletter
window.op('track', 'subscribe', {
source: 'newsletter_footer',
});
// Or when a reader creates a membership account
window.op('track', 'signup', {
plan: 'free',
});
4
Optional: keep every blog in one account
Run more than one site? On a paid plan, one Privytics account holds many projects; the free plan covers one. Add each blog or publication as its own project and switch between them from the project picker with a single login. Each project keeps its own script and reports.
Account
|- Project: personal-blog (op1.js, own reports)
|- Project: company-magazine (op1.js, own reports)
|- Project: side-newsletter (op1.js, own reports)