Skip to main content
The easiest way to track a WordPress site is the official contentgrove plugin. It keeps the tracking file on your site, lets you manage everything from the WordPress admin, and updates itself from the Plugins screen. If you’d rather not install a plugin, you can add the script manually instead.

Install the contentgrove plugin

1

Download the plugin

Download the plugin .zip — this link always gives you the latest version:

Download the contentgrove WordPress plugin

The plugin zip, ready to upload to WordPress.
2

Upload it to WordPress

In your WordPress dashboard, go to Plugins → Add Plugin → Upload Plugin, select the .zip file, and install and activate it.
3

Open the plugin settings

Go to Settings → contentgrove in your WordPress admin.
4

Connect to contentgrove

Click Connect to contentgrove. This opens contentgrove to link the plugin to your account.
5

Approve the site

In contentgrove, approve the site to finish connecting it to your workspace.
6

Choose what to track

Leave Entire site selected so the script runs on every page, including your landing and thank-you pages. Only narrow this if you want to track specific pages or posts.
Once connected, everything is managed from the plugin settings inside WordPress, and the plugin updates itself from the Plugins screen when a new version is released.

Alternative: add the script manually

If you prefer not to install a plugin, add the tracking script site-wide with the free WPCode plugin, which lets you insert code without editing your theme.
1

Open plugin installation

In your WordPress dashboard, go to Plugins → Add Plugin.
2

Install WPCode

Search for “code snippet”, then install and activate WPCode.
Installing the WPCode plugin from the WordPress plugin directory
3

Add a new snippet

Open WPCode and choose + Add Snippet, then Add Your Custom Snippet.
The Add Snippet button in WPCode
Choosing Add Your Custom Snippet in WPCode
4

Choose HTML snippet

Select HTML Snippet as the type.
Selecting HTML Snippet as the code type in WPCode
5

Paste your tracking code

Give the snippet a title, then paste your HTML tracking code from Settings → Tracking in contentgrove. See Install the tracking script for the code.
Naming the snippet and pasting the contentgrove tracking code in WPCode
The contentgrove tracking code pasted into the WPCode editor
6

Set the location

Set the location to Site Wide Footer.
Setting the WPCode snippet location to Site Wide Footer
7

Activate and save

Toggle the snippet on and click Save Snippet.
Activating the snippet and clicking Save Snippet in WPCode

Verify it works

In contentgrove, open Settings → Tracking, use the Verify tracker tool, enter your website URL, and run the check.
Verifying the tracking installation from contentgrove settings
If tracking isn’t recording, see Tracking isn’t recording clicks.
Last modified on July 11, 2026