Actually Tracking
Install guides

WordPress

Install Actually Tracking on WordPress with the plugin.

The plugin adds the script, serves it and its events from your own domain so ad blockers rarely drop them, and can report the AI crawlers that read your site.

  1. Download actually-tracking-wordpress.zip.
  2. In WordPress, go to Plugins → Add New → Upload Plugin, choose the zip and click Install Now, then Activate.
  3. Go to Settings → Actually Tracking and paste your client ID from your project's Settings → Clients / API keys. Save.

Open your site in a new tab, then look at Realtime in Actually Tracking: your visit shows up within a few seconds. Logged-in editors and administrators are not tracked by default, so check in a private window.

Settings

Setting
Client secretOptional. With it, visits from AI crawlers and bots, which never run JavaScript, are reported from your server
Serve from this siteOn by default: the script and events go through /wp-json/actually-tracking/v1/ on your domain
Custom tracking domainA subdomain set up for tracking instead of the option above
Outgoing links, data-track clicks, #fragment pagesWhat the script tracks

Without the plugin, paste this into your theme's <head> (for example with a header-scripts plugin):

<script defer src="https://actuallytracking.com/op1.js" data-client-id="YOUR_CLIENT_ID"></script>

On this page