Use CSS classes for events
Mark a button or link with a PureStats event class and let the tracker capture the click automatically.
PureStats can capture custom events from CSS classes and data attributes, making signups, downloads and CTA clicks easier to measure.
PureStats keeps the product focused on practical web analytics: clean collection, clear reports and privacy controls that are visible before and after installation.
Mark a button or link with a PureStats event class and let the tracker capture the click automatically.
Data attributes let you set clean event names and properties for reporting and goals.
Use events in goals and funnels to see which sources and campaigns create real actions.
Add the script once, verify that it loads and confirm the first pageview in the site setup screen. From there, campaigns, pages, sources, devices and goals use the same reporting surface.
<script defer
data-domain="example.com"
src="https://purestats.io/pf.min.js">
</script>
Continue with the most relevant setup and comparison pages.
Use PureStats as a lightweight Google Analytics alternative for privacy-friendly traffic, campaigns, goals and realtime reporting.
Compare PureStats as a Plausible alternative with realtime analytics, campaigns, goals, funnels, exports and site privacy controls.
PureStats provides cookieless analytics for traffic, campaigns, goals and realtime reporting without visitor cookies by default.
Run privacy-friendly web analytics with cookieless tracking, IP anonymization, retention controls and export/delete request workflows.
Create a site, add the tracker and verify the first request in minutes.
Start free beta