A/B Testing: How To Improve Contact Page Conversions Using Google Analytics

What Is A/B Testing?

In our context, an A/B test is an experiment that tests two different variants of a webpage against each other to determine which one will deliver better results (more form-fill submissions, more phone calls, longer session time, etc.) The two different versions of the page will be randomly served to users on the website to determine the winner based on statistically accurate data.

How Can I Use A/B Testing On Your Website?

One of the best, most impactful ways to use A/B testing is on your website’s contact page. Currently, we’re running A/B tests across all of our client’s contact pages to see which page format is delivering the highest conversion rate. We’re testing the placement of the contact form — middle of the content versus before all other contact info and content.

How Do I Set Up A/B Testing?

There is a multitude of companies that offer A/B testing software (one of Mockingbird’s preferred: Optimizely), but in this post, we’re going to explain how to use Google Analytics “Experiments” feature to test your contact page.

Important note: the following process is for any website that is set up on WordPress and has Google Analytics installed on the site.

Step 1: Create an alternate page to test in WordPress and make sure the following Yoast SEO settings are set:

  1. Index
  2. Follow
  3. Set canonical to original page you’re testing

Yoast Seo Settings

Pro tip: I also like to make the URL the same as the page you’re testing but with “alt” at the end (ie: example.com/contact-alt/) but feel free to make the URL whatever you please.

Step 2: Install and activate WordPress plugin “Simple Google Content Experiments”

Step 3: Open Google Analytics and navigate to > Behavior > Experiments

Step 4: Create a new experiment and use the following settings:

  1. Name your experiment appropriately (ie: Contact Page AB)
  2. Assign 100% of traffic to experiment (assuming it’s not something extremely drastic)
  3. Email notifications to yourself
  4. Set 2 week minimum time to run
  5. Set a confidence threshold of 95%

Contact Page Google Analytics Experiment

Step 5: Configure the experiment

abtest

 

Step 6: Set up your experiment code

  1. Select “Manually insert the code”
  2. Edit the WP page and create a new custom field labeled “google_content_experiment_code” and insert copied code as value

AB Test Experiment Code

Step 7: Validate your experiment code and launch experiment.

Step 8: Sit back and wait for the results to roll in.

For more information on Google Analytics Experiments, view this help article: https://support.google.com/analytics/answer/1745216?hl=en.