NewsNews Archive

Google Analytics Becomes A Testing Platform With Content Experiments API

Google-Analytics-hostbabyGoogle has launched an API for Content Experiments. This API makes Google Analytics a full-blown A/B testing platform where developers of all types can leverage the power of Google Analytics to run their experiments.

The Analytics API enables marketers and developers to experiment and build new tools powered by Google Analytics. The goal is to provide the most flexible and useful Analytics API on the web enabling you to do everything from build great apps to automate / expedite busy work.


By utilizing the  multi-armed bandit approach, one can maximize results by efficiently determining which assets on your site perform best to offer an improved experience for users. Multi-armed bandit experiments are powerful and efficient tools and with the new Content Experiments API, you can get even more from them.

The Content Experiments API allows you to pick and choose from all the testing functionality Google Analytics has to offer and to combine it into powerful solutions that best fit your particular needs:

Testing changes to content without redirects. 
The original Content Experiments JavaScript snippet made testing a breeze. To keep things simple and consistent for all publishers, the snippet causes a page redirect which may take away from the end user experience in certain cases. Now, with the new Content Experiments API, testing changes to content without redirects is both possible and easy to implement.

Testing items server-side such as the result set of a database query.
Major testing platforms typically offer changes on the client-side but not server side. With Content Experiments API you can now run tests on the server side and try things like implementing different recommendation or search algorithms to determine what works best for your site.

Testing with your own variation selection logic and use Google Analytics for reporting.
While the multi-armed bandit approach to experimentation is one of Content Experiments most powerful features, there are times where publishers and developers would prefer to decide for themselves how to serve variations – be it evenly or using proprietary logic. The Content Experiments API makes it possible for you to bypass our programmatic optimization while allowing you to continue to enjoy the powerful experiment reporting Google Analytics provides.

Testing in non-web environments using measurement protocol.
For example, if you have a kiosk in your physical location (such as airline terminal or retail store) you can test different layout variations of content and features and determine what users can complete quickest or at highest value.


Ephraim Batambuze III

Digital guy, Web developer, Tech blogger, Gadgets Reviews, Geeky dad. Twitter:@batambuze WhatsApp/Telegram:+256781665128 Skype:ebatambuze
Back to top button

Adblock Detected

Please disable your adblocker to continue accessing this site.