Measurement Wordpress


You can track, measure and validate impressions, clicks and events in real-time by using TrafficGuard WordPress plugin on your website.

TrafficGuard WordPress Plugin

The TrafficGuard Plugin is comprised of two parts - a WordPress plugin that is installed on site tag and an API. The first executes analysis of requests coming to users website and the second allows you to send this telemetry to TrafficGuard.

Installation and setup

Install the plugin is pretty much simple.

Recommended installation method

Installation of the plugin from the Wordpress plugin marketplace is recommended as it is easier to make sure you always have the latest plugin updates.

We also support installation from a zip archive

You can download the plugin archive here: TrafficGuard Wordpress Plugin.


The WordPress plugin requires you to configure the following parameters:

Param Name Example
Property ID tg-001234-999

The Property ID needed for integration can be found in your property's settings in the TrafficGuard portal (

How it works

When installed the plugin will update pages of your site with out integration code and send data to the TrafficGuard servers for detailed analysis and a determination of the validity of the traffic will.

No additional input is needed from you.


<!-- TrafficGuard Integration -->
var dataTrafficGuard = dataTrafficGuard || [];
dataTrafficGuard.push(['property', '{property-id}']);
(function() {
var tg = document.createElement('script');
tg.type = 'text/javascript'; tg.async = true; tg.src = '//';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tg, s);})();
<img src="//{property-id}&event_name=pageview&no_script=1" width="1" height="1" border="0"/>
<!-- TrafficGuard End-->

After the plugin is installed we recommend a cache cleanup for your site.