Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Google Content Experiments

This plugin enables you to use Google Content Experiments on your WordPress site.

How do I setup a content experiment?

Please see this page.

Error message: 'Call to undefined function wp_get_theme'

The function wp_get_theme exists since WordPress 3.4.0. Try to update to the latest version of WordPress and see if that resolves the issue.

Error message: 'Experiment code missing the cookie domain name declared in tracking code'

The Google Analytics code modifies the cookie domain, but this modification is not present in the experiment code. You should add some extra code to the code you get from Google.


In your Google Analytics code there is some code like ['_setDomainName', 'example.com']. You should add the following code above the experiment code you got from Google:

_udn = "example.com";

In total, the experiment code you put in the Experiment Code field of the GCE plugin should look like:

_udn = "example.com";
<!-- Google Analytics Experiment code -->
... Contents of the experiment code ...
<!-- End of Google Analytics Experiment code -->

For more info about error messages go to the Code-Checking Errors page.

Requires: 3.4.0 or higher
Compatible up to: 3.8.18
Last Updated: 3 years ago
Active Installs: 2,000+


4.3 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
0,1,0 100,2,2