WordPress plugin intelligence profile

WP Content Experiments & Event Tracking

This plugin enables you to easily add Google Content Experiments control code and/or event tracking into your WordPress pages and posts.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.4
Current version1.0
WordPress coverageTested up to WordPress 3.4
Minimum stackWP 3.4.0 · PHP —
Directory statusactive
Last directory update6 Oct 201214y ago
Active installations30Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP Content Experiments & Event Tracking version 1.0 as active, updated 14y ago and tested up to WordPress 3.4.

Overview

About this plugin

The WP Content Experiments & Event Tracking plugin gives you the ability to conduct Content Experiments on your WordPress site by providing an easy interface which you can use to paste the relevant google experiments control code into the header of the page/post of your choice.

Google Content Experiments replaces Google Website Optimizer as the tool which website owners can

use for the split testing of their site’s pages.

Content Experiments is a tool which can found in your Google Analytics account from which you can do your split testing with.

This plugin also gives you the ability to perform event tracking on certain page elements such as buttons, links or other elements.

The plugin will automatically add the event tracking code to particular elements on the wordpress post/page of your choice based on the configuration in the post/page editor window.

Usage

pre-requisites:

a) You will need an active google analytics account. If you don’t have one, you can create a new one here:

com/analytics/

b) You will need to have installed and configured the Google Analytics for WordPress plugin

org/extend/plugins/google-analytics-for-wordpress/

(this will ensure that your Google Analytics tracking code will be inserted inside your site’s tags)

Adding Content Experiments code to a post or page

##

1) Using the WP editor open the page or post you wish to treat as the “Original” page for the content experiment you want to perform.

Please see the google help pages for how to setup/run experiments:

hl=en&answer=1745216

2) Enable the checkbox in the “Content Experiments For WP” section to activate the feature

3) Paste the Google Content Experiments code into the text box.

IMPORTANT: You should only paste the content experiments code in the page which you set as the “Original” in the experiments setup of your google analytics account,

ie, do not paste the code in the “Variation” page(s).

You can check whether your code was added correctly within the page’s tags by viewing the source of the web page.

Adding google event tracking code to an element on a post or page

##

NOTE: To perform event tracking you will need to set up a goal in your google analytics account.

Please see the google help pages:

hl=en&answer=1032415

1) Using the WP editor open the page or post you wish to perform event tracking on.

2) Enable the checkbox called “Enable Event Tracking for this page” in the “Event Tracking” section to activate the feature

3) Enter the values for the Category, Action and Label fields. (These values should have been set by you when you were configuring youyr goal in you

google analytics account)

4) Enter either a CSS ID name and/or CSS classname of the element you wish to track.

In order to obtain the CSS ID or class values of an element you can use firebug by right-clicking on the element and choosing “Inspect element with firebug”.

Example 1:

Let’s say I had a link on one of my wordpress pages which I wanted to track and the html for my link looks like the following:

click me

I would enter “my_link_id” in the Element ID field in order perform event tracking on this link.

Example 2:

If I had a button which I wanted to track and the html for this button looks like the following:

In order to track this button, I would simply copy the class value “coolbutton-submit” and paste it into the “Element Classname” field.

Tip:

You can check whether your event tracking code was added correctly to the appropriate element by viewing it in firebug by rightclicking the element and selecting “Inspect Element with Firebugt” when using the Firefix browser.

(Alternatively if you are using Chrome right-click the element and select “Inspect element”)

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • ab testing
  • event tracking
  • google analytics
  • google content experiments
  • split testing
  • a
  • b
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.4

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.4.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.4
Minimum requirementsWordPress 3.4.0 · PHP not listed
Update activity6 Oct 201214y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.