Simple Content Experiments

Simple Content Experiments

Wordpress plugin

Install on Wordpress

App Details

As of August 2019, Google no longer allows new Experiments using the Experiments API.

So this project will not get updated.

Please use Google Optimize.

As part of Analytics, Google offers a free content testing service called Google Experiments.

NOTE: Google is deprecating Analytics Content Experiments.

Google Optimize is the free, preferred way to run experiments. Analytics Content Experiments remain available but are being deprecated in the future.

We are currently supporting this plugin, but will discontinue support as the Content Experiments API becomes deprecated.

In the simple (page) form of Google Experiments, the user is redirected to a separate page which contains the variation. There are a number of plugins that can help you implement this scheme.

The Simple Content Experiments plugin implements the “Client-side” model described in Content Experiments Without Redirects (Browser-only implementation)
This scheme is more complicated to set up, but allows more flexibility.
The Simple Content Experiments plugin allows you to define sections within a single page that contain multiple variations with simple shortcodes..
For example, you can test if one call-to-action image gets more clicks than another.

To use this plugin, you will need:

  1. Google Universal Analytics installed on your site
  2. A Content Experiment
  3. Your experiment ID (Will be displayed when setting up the experiment above.)

Sample content experiment:

 [experiment id="EXPERIMENT ID"] [ex_variant] content for first variation [/ex_variant] [ex_variant] content for second variation [/ex_variant] [/experiment] 

Features:

  • Allows in-page variations. You don’t need to create a whole page for each variation
  • Simple shortcode syntax
  • Uses Google Experiments API to determine which user sees which variation
  • Adds class (“xvariantclick”) and custom data attribute (“data-xvariant”) which can be used for Analytics event goals and tracking

Goals and Tracking:

Anchors within an experiment variation get an additional class: “xvariantclick”
This class can be used with Google Tag Manager to create a rule that responds to clicks on those elements.

Note: If you are using Google Tag Manager, you need to create a trigger and tag to have the Experiment run properly.
See the section called “Google Tag Manager” for information on how to set this up.

Google Analytics Experiments:

To track clicked items within an experiment, use these new events in your goal definitions.
You can look for an event where Category = “experiment” or whatever you named your category above.

Debugging

You can enable JavaScript console log debugging messages by adding the following to your wp-config.php file:

/** Enable console log debugging messages for the Simple Content Experiments plugin: */ define('WPSCE_DEBUG', true); 

Google Tag Manager

As simple as “Simple Content Experiments” is, Google Optimize is even simpler. And the recommended solution if you’re running GTM.

But if you still want to use the old Content Experiments, you can. (For now.)
When running Google Tag Manager, sometimes the Experiments API will run before Analytics is loaded and ready.

Don’t worry if that is just programmer-speak, you just need to add a new Tag and Trigger.
Obviously, none of this applies if you’re not running Tag Manager.

Trigger

Name:

I called mine “AnalyticsLoaded” but you can name it whatever you want.

Choose Event:

“Page View”

Configure Trigger:

“Window Loaded”

Fire On:

“All Page Views”

Tag

Name:

Whatever you want. I called mine “SimpleExperimentPlugin”

Choose Product:

“Custom HTML” tag

Configure Tag:

<script> if("function" == typeof(content_experiment.run_experiment)){ content_experiment.run_experiment(); } </script> 

Fire On:

“AnalyticsLoaded” or whatever you named the trigger above.

Requirements

  • Google Analytics (Universal Analytics)
  • This version of the plugin requires jQuery 1.6 or higher.

While jQuery is probably already available in your theme, in the unlikely event that it isn’t, you can use a plugin like WP jQuery Plus to add it to your site.

Pricing

Starting from $0 per month.

Check Out the Donation Button Widget

By Common Ninja

Donation ButtonTry For Free!

App Info

Rating

Reviewers

3 reviews

Tags

a b testing
adopt-me
content experiments
google
testing

Developed By

firebrandllc

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

More plugins

plugins You Might Like

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms