WordPress.org

Ready to get started?Download WordPress

Plugin Directory

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.

Example:

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:

<script>
_udn = "example.com";
</script>

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

<script>
_udn = "example.com";
</script>
<!-- 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.3
Last Updated: 2013-12-14
Downloads: 8,143

Ratings

5 stars
5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

50,2,1
100,1,1 100,1,1
67,3,2
0,1,0 100,2,2
100,1,1
50,2,1
100,1,1