TEST DRIVE TEST LATER
Offer X

How To Do WordPress AB Testing With Google Analytics

Author
2.September.2017| No Comments

Often our small experiments lead to great surprising results. We do so many changes in our products that we forget which were the best trick that worked well for us. To have a clear idea which experiments, it’s the best policy to have an A/B testing. The A/B testing or split testing is just having a various format of a similar thing. You can easily do WordPress AB testing with Google Analytics.

Suppose if you have a webpage of certain information and on the other hand, you have the same page with the same content but with a different design. And you wish to know which web page has more likes and shares. In this situation by the help of A/B Testing half of the visitors will be redirected to the original web page. And the rest of the users will be redirect to the modified page. By A/B testing you can easily analyze which performs better.

As there are so many softwares available for A/b testing, But if you want to have an A/B testing on your WordPress site with the help of Google Analytics. We all know Google Analytics is a powerful and informative software which gives in-depth analysis of our website.

Perform WordPress AB testing easily without using third party tool

Before moving further you will need to integrate your WordPress site with Google Analytics. Once you set up this, you need the original page and the page with variation to perform the test on them. You can even create multiple variation pages for the same original page.

In Google Analytics the A/B testing is known as Content Experiment. Once you log into the Google Analytics go to Experiment section which is under the Behavior section. After clicking on the Experiment you can set up an experiment by giving a name to the experiment.

After that, you have to set the objective for the experiment. The objective is nothing but the Goals of the Google Analytics. You can select a previous goal or create a new goal by clicking on Create a new objective.

wordpress ab testing

After that, you need to provide the URL of the Original page and the URL of the page with variations. After that how much visitors to include in the test. Let’s say you can select 50% of your total traffic involved in this experiment. and you are all set with the pages for the experiment.

After clicking next, you will have an tracking code generated by Google Analytics. Simply click on the Manually insert the code and copy that code.
wordpress ab testing

Now you have to copy this code into your WordPress header file. Copy this code into your site’s Header.php file.

wordpress ab testing
Replace $page_id with the original page id.

How To Find Page Id For WordPress AB Testing

To find page Id of any page just go to Dash Board of your site. Open page in the edit mode. In the page URL, you will find the page id or the post id.

wordpress ab testing

When you have added the code to your original page and published the original and pages with variation. For page, verification goes to Google Analytics for verification of pages. Google Analytics will verify that the content experiment code is properly installed on the pages. After that, you can click on start experiment button to launch your A/B split testing or content experiment.

Conclusion

A/B testing helps to evaluate which experiment is working for you, and how can you increase more traffic by improvising things in better way. As we see WordPress ab testing can be done in a very easy way with the help of Google Analytics. After you set up A/B test in your site, Google Analytics take 2-3 weeks for better in-depth analysis of audience and gives accurate test results. You can easily figure out which strategy worked well for your site.

AUTHOR

COMMENTS

Leave a Reply

Your email address will not be published. Required fields are marked *

X

Subscribe Now

Get free download on your email

Send me new freebies, offers & news
X

Subscribe Now

Get free download on your email

Send me new freebies, offers & news