Pulse Analytics adds privacy-first web analytics to a Statamic site with one addon. It sets no cookies and never stores IP addresses. The script it adds to your pages is under 3 KB.
How it works
- Run
composer require ciphera/statamic-pulse-analytics. - Add
{{ pulse:tracker }}inside<head>in your layout, the same way you would add{{ seo_pro:meta }}. - Optionally open Tools > Addons > Pulse Analytics in the Control Panel to pin a domain, turn on interaction tracking, or route events through your own proxy. With nothing configured, the tracker uses the browser's own hostname, which is right for a site served on one domain.
- Your dashboard at pulse.ciphera.net shows visitors as they arrive.
What it measures
Pulse counts pageviews, referrers, countries, devices, time on page and scroll depth, plus the goals, funnels and campaigns you set up, in one dashboard hosted in Switzerland. It does not count visitors whose browser sends Do Not Track or Global Privacy Control.
What it sends
The tag loads the tracker from js.ciphera.net. The tracker sends each pageview and event to pulse-api.ciphera.net, or to your own proxy if you set a custom API origin. The addon itself makes no requests from your server.
Settings
The domain is checked when you save, so a typo is caught at once. A mistyped domain would otherwise leave you with an install that reports nothing. A companion script for clicks, copies and form submits is optional. It loads as a second request, so a site that leaves it off never downloads it. A custom API origin is there for sites that route events through their own proxy. On a multi-site install, every setting can be overridden per call on the tag itself:
{{ pulse:tracker domain="example.com" companion="true" api="https://proxy.example.com" }}
Requirements
You need Statamic 6, PHP 8.2 or later, and a Pulse Analytics account with a site registered for the same domain. The free plan is enough to start: it covers one site and 10,000 events a month, and you do not need a card. Past that, the Business plan starts at 9 euros a month with VAT.