AMP now supports A/B testing and other experiments

Check out the new amp-experiments component that lets you easily test different variations of your AMP pages.

Chat with SearchBot

google-amp-speed-rocket-launch2-ss-1920

Now you can run experiments, such as A/B tests, using AMP pages. This was announced on the AMP blog. “[W]e’ve launched a new AMP component that allows you to conduct user experience experiments on an AMP page,” Google said.

Within the code, you can specify how much traffic to send to which experiment. The <amp-experiment> element allows you to specify all experiment behaviors via a JSON configuration. Plus, through this new configuration, it will expose additional analytics reporting attributions so you can collect enough data to decide which experiment works best.

Here is sample code on how to use <amp-experiment> — and you can read this blog post to learn more.


About the author

Barry Schwartz
Staff
Barry Schwartz is a Contributing Editor to Search Engine Land and a member of the programming team for SMX events. He owns RustyBrick, a NY based web consulting firm. He also runs Search Engine Roundtable, a popular search blog on very advanced SEM topics. Barry can be followed on Twitter here.

Get the must-read newsletter for search marketers.