Developers

How to A/B Test Layouts

How to A/B Test Layouts

Let's get started. Go to the Layout & Design tool in the left-hand navigation menu.


You'll find that all pages (Post, Home Page, Section, etc.) have an A/B action button in the toolbar:

This will allow you to create new layouts to test.

Creating a New A/B Testing Layout

You can create a new B test two different ways:

1. Use the + NEW TEST CASE button.

2. Copy a specific layout with the Copy button that's in the settings menu of a layout.

CRUD Operations for Your Layouts

You can Copy, Delete, check Settings,and Set a Default Layout using the four handy buttons at the top of each A/B test.

You can also change the name of your layout in the Case Title field under Settings.

Share It on Social with Our Custom Query Parameter

Different A/B testing templates are identified in the URL of a page via a query parameter. You can find this variable and change it in the Properties card of your A/B layout.

The query parameter can be customized by clicking into the Query Variable and Query Value fields and simply overwriting them:

For example, the regular home page URL for the following test site is https://www.example.com. But you can check out one of the A/B home page tests we've set up by going to https://www.example.com/?heading=3. Neat, huh?

Please note that we have a selective filtering from our WAF that will block any query variable/value that uses the following pattern:

?on*=*

This just means that, in your naming convention, you need to avoid variables that begin with "on." So a B test such as https://www.example.com/?only=content or https://www.example.com/?one=ad will not render and will lead to a 429 error.

Our A/B testing query parameter lets you, for example, share the same article with two different layouts on social:

  • Article 1 with Layout A goes to Facebook
  • Article 2 with Layout B goes to Twitter

Google Analytics Tracking with UTM Campaigns

We can also track the performance of each layout via a Google Analytics integration. We have a default setup, but if you wish to customize it then it's easily doable in the Properties card.

Below the query parameter fields, you'll find all of the usual UTM variables that can be set up to match your own tracking.

Please make sure that if you're testing a Section page, Article page, or any other pages that are not the home page, that you open up the page first and then add the query parameter. So click on any Section/Article page on your site and then add the query parameter to the end of the URL. Otherwise, the site will think you're trying to load a different layout for the home page.

What Is RebelMouse?
Request a Proposal

Where 
Websites Are Built

The Fastest Sites in the World Run on RebelMouse

Let’s Chat

new!

RebelMouse Performance Monitoring

Real-Time Core Web Vitals

Get Started
DISCOVER MORE

Our Core Features

Our platform is a complete digital publishing toolbox that's built for modern-day content creators, and includes game-changing features such as our:

animate
Layout and Design toolLayout and Design tool on mobile
animate

Why RebelMouse?

Unprecedented Scale

RebelMouse sites reach more than 120M people a month, with an always-modern solution that combines cutting-edge technology with decades of media savvy. And due to our massive scale, 1 in 3 Americans have visited a website powered by RebelMouse.

120M+ Users
550M+ Pageviews
17+ Avg. Minutes per User
6+ Avg. Pages per User

Today's Top Websites Use RebelMouse

Thanks to the tremendous scale of our network, we are able to analyze a wealth of traffic data that informs our strategies and allows us to be a true strategic partner instead of just a vendor.

upworthyindy100Vault12No Film SchoolRawStoryResponsible StatecraftPrideMNI Market NewsPremierGuitarPenskeINN Educate Brand ConnectThe FulcrumGZEROOkayafricaBrit+CoPaper MagazinePowerToFlyNarcityCommonDreamsAllBusiness

What Clients Say

We’re here to help you weigh and understand every tech and strategic decision that affects your digital presence. Spend less time managing everything yourself, and more time focused on creating the quality content your users deserve.

Case Studies

A Team Built Like No Other

RebelMouse employs a unique, diverse, and decentralized team that consists of 70+ digital traffic experts across more than 25 different countries. We have no central office, and we cover every time zone to ensure that we’re able to deliver amazing results and enterprise-grade support around the clock.

Our team is well-versed in all things product, content, traffic, and revenue, and we strategically deploy ourselves to help with each element across all of our clients. We thrive on solving the complex.

Let's Chat