Docs
Paste before </head> on every page. Find your site id under Sites → Settings.
<script defer src="https://click27.com/tracker.js" data-site="SITE_ID"></script>
Send any action with optional properties (max 20, strings, numbers or booleans).
click27.track("signup", { plan: "pro" })Pageviews, SPA route changes, outbound links, file downloads and 404 pages are tracked automatically. A heartbeat every 30 s keeps session duration accurate.
outbound · download · 404
Create a key under API in your workspace. Read-only, scoped to your workspace.
curl -H "Authorization: Bearer c27_…" "https://click27.com/api/v1/stats?site=SITE_ID&metric=visitors&dimension=source&range=7d"
Credits: world map from svg-maps (Map of World, CC BY 4.0).