Google Analytics revamped Content Experiments last summer. Now, nearly a year later, they’ve announced a new round of improvements, including API calls.
Last week, Google announced the launch of a specific API for Content Experiments. The same tool that allows users to use A/B content tests on their site is now available through an API. The new content experiments API allows developers to pick and choose from all the features available within Google Analytics Content Experiments and create a custom solution that fits their needs.
Several advantages include:
- Testing Without Redirects: When performing A/B tests with Content Experiments, the snippet of code you place on your “A” page redirects users to the “B” page. This can, in select cases, take away from the end-user experience. Using the Content Experiments API, you are able to test content without using redirects.
- Server-Side Testing: Content Experiments in Google Analytics currently only allows for client-side testing. That is to say, they show changes the visitors would see in their browsers. With the new Content Experiments API, developers can now run tests server-side to test experimentations with different page-dependent elements like a database query. Google offers technical documentation that involves sample Python code through Google’s App Engine.
- Additional Variation Selection Logic: Applying the multi-armed bandit approach to your Content Experiment allows you to serve variations of your A/B testing. Using the new Content Experiments API, developers can bypass Google’s programmatic optimization while still reporting the results of your tests within Google Analytics.
Does your web team use APIs to interact with Google Analytics? If your team will be using this, sound off in the comments below.
This article was originally published on http://searchenginewatch.com/sew/news/2273939/google-analytics-finally-gives-developers-content-experiments-api.
ClickZ’s recent webinar on Mastering the Art of Data-Driven Attribution was a great reminder of the opportunities available for companies to make strides in this rapidly-evolving area of marketing.
We all need data on the users that matter to us most. In many cases, to get this data, we need to have data forms to collect and capture information directly on our websites.
“You cannot succeed in analytics and marketing unless they are central to business operations and are helping business answer the questions that will drive dollars to the top or bottom line,” says Kerem Tomak, Sears Chief Digital Marketing & Analytics Officer.
The use of psychology in marketing and sales is not new, but it may be more useful than ever in an attention economy where time is precious and focus is rare. How can you tap into a demanding consumer to check whether there is an actual interest in your product?