Tracker
WordPress
Add v5.js to the theme head. Keep wp-admin out of the numbers.
Theme head
Insert the script in header.php or via a header-injection plugin. Use your production analytics host, not the WordPress admin URL.
Skip wp-admin
Do not enqueue the script on is_admin(). Editors clicking around /wp-admin will otherwise look like highly engaged humans.
Something off? Open an issue · Edit on GitHub

