How to install ClickGUARD website tracking code in WordPress?
Adding the tracking code to a WordPress site can be done in many ways - through a plugin or directly within template files. Best practice is to do it with a plugin.
The best approach is to install the official ClickGUARD WordPress plugin directly from the WordPress marketplace. It’s simple and easy to configure and you’ll get more than just automatically installed tracking code - the plugin will display click stats in your WordPress admin dashboard.

Hint: Get your account ID and code directly from your Account Settings under Plugin API Access:

If you’re already using a plugin to add Google Analytics code the given plugin might offer the same ability for inserting any code snippet you can use it for ClickGUARD as well. You can also install Insert Headers and Footers by WPBeginner and use their "Settings > Insert Headers and Footers" menu option.
Official ClickGUARD WordPress Plugin
The best approach is to install the official ClickGUARD WordPress plugin directly from the WordPress marketplace. It’s simple and easy to configure and you’ll get more than just automatically installed tracking code - the plugin will display click stats in your WordPress admin dashboard.

Hint: Get your account ID and code directly from your Account Settings under Plugin API Access:

Alternative Plugins
If you’re already using a plugin to add Google Analytics code the given plugin might offer the same ability for inserting any code snippet you can use it for ClickGUARD as well. You can also install Insert Headers and Footers by WPBeginner and use their "Settings > Insert Headers and Footers" menu option.
Updated on: 24/02/2023
Thank you!