A/B tests of CSS fragments allow you to create alternative CSS rules that are dynamically loaded onto your WordPress site modifying its appearance and allowing you to create different user experiences to discover which one works best.
Nelio A/B Testing allows you to perform this type of tests in WordPress in a very simple way, offering the necessary tools to create alternative content, perform the test, and track visitors to help you achieve goals such as increasing revenue or subscriptions. Install, activate, and configure Nelio and get the most out of your website
Table of Contents
- CSS Test Instructions
- How to Create the Variants to Test
- How to Define Your Conversion Goals and Actions
- How to Start the Test
- How to See the Progress of a Test and Its Results
CSS Test Instructions
Once you have installed, activated, and configured Nelio A/B Testing, follow these instructions to create CSS tests.
Create a New CSS Test
- Under the Nelio A/B Testing menu, click on Tests to view and manage your tests.
- Click the Add Test button at the top of the screen.
- A pop-up window will open with all the types of tests you can create. Each of them has a name and an icon.
- Click on CSS.
Name and Define Your Test
First of all, give a descriptive Name to the test you want to create to help you identify it in the future. In addition, on the right sidebar, you will find three additional tabs:
- Status & Management, where you see the status your test is currently in (Draft, Ready, Scheduled, or Paused) and options on when it should start and end,
- Description of the test, where you can indicate what you are testing and what you intend to achieve with it,
- Test Scope, where you specify which pages of your website are affected by this test and which by default indicates that the variants will be visible on all pages of your website. If you want to limit its scope to certain pages, you have a form to define the URLs in which the test should be executed.
How to Create the Variants to Test
A CSS test in WordPress consists of testing different versions of the CSS style rules currently defined on your website and measuring which one works best to achieve your goals. For example, you can analyze which style changes generate more clicks.
Create New Variants
Create a “Variant B” (or more than one variant, if you wish) of the original style rules:
- Name your variant in the field next to the letter that indicates the variant you are creating (for example, “Change button style”, “Change in typeface” or “Variant 1”).
- Click on the Edit link for each variant to create the new CSS rules.
- If you want to create more than one variant, click on the New Variant button at the end of the section.
Editing a Variant
When you edit a variant, WordPress will open a CSS editor. From the editor, add the CSS rules you want so that your website looks different from “Version A” and when it is ready, click on Save and return to the test. Remember that the variants created are only shown as part of an A/B Test and that is done by Nelio A/B Testing.
How to Define Your Conversion Goals and Actions
A/B tests are usually performed with one or more goals in mind, such as “show interest in your products” or “increase visits to posts.” The goals are met when the visitor performs certain actions. For example, a visitor may be “increase visits to posts” when he visits any or your blog posts. Moreover, a visitor may “show interest in your products” when they visit your pricing page or when they complete a certain form requesting information.
Let’s see how to define conversion goals and actions in Nelio A/B Testing in order to track the activity of your visitors.
Define Your Conversion Goals
You can add as many goals as you want by clicking on the + New link. If you create more than one goal, Nelio A/B Testing will show you information on how effective each variant is for each of the defined goals.
Optionally, you can give your objective a name that helps you remember what you were interested in improving in your test. For example, your goals could be “Increase subscriptions” or “Get more clicks on the menu tabs.”
Add Conversion Actions to Your Goals
Different types of conversion actions are available to track your visitors. For example, you can control when they access a certain page, when they click on a certain element of your website or when they send a contact form.
- Click on the Action Button that interests you. (for example, if you want them to click on a menu option, click on Click).
- Each type of conversion action has its own settings. In the case of Click, for example, you must specify which HTML element (through its ID or CSS selector) the user has to click. Note that in this case you must select the HTML elements of the control version and each of the variants.
- Repeat the process for all the actions you want to add.
Remember that you can delete any action by clicking on the Delete link below the action.
How to Start the Test
Once you have fully defined your test, you will see that the status of the test will have passed from Draft to Ready. At that point, you can Start it so that your website visitors can see the different variants that you have created and Nelio A/B Testing will start tracking their actions.
Start your test
To start a test, check that it is Ready and, if it is, click on the Start… button in the upper right corner. If it was not ready, you can hover the mouse over the information icon that appears next to the Status to see why your test is still a Draft.
If you do not want to start the test directly, but want to leave it scheduled for a specific date, specify it using the Start field in the Status & Management section.
Once the test has started, the plugin will show you its results page and you will see that the status changes to Running.
Important: tests cannot be edited once they are active, but you can pause, modify them and restart them so they continue to run. Of course, depending on the modifications you make, your partial results may be invalid after restarting the test. If that is the case, it is best to start a new test, duplicating the previous one.
When do you want to end your test
You can also define when you want the execution to end, indicating the End Mode of the test:
- Manual: the test will stop when you click the Stop button, in the list of tests or on its results page.
- Duration: the test will stop automatically after the indicated time.
- Page views: the test will stop automatically after reaching the total number of visits you have specified.
- Confidence: The test will stop automatically when a winner is found in the first goal with the specified confidence level.
How to See the Progress of a Test and Its Results
In the menu option Tests you can see the list of the tests created, the status they are in and the date of their last update. At any time you can see the results of a test that is started or that has already ended by clicking on the View Results link below its name.
Summary of the results
In the right sidebar of the results page you will find the Summary of your test with the following information:
- Status icon. This icon helps you quickly identify the progress of your tests. It is initially in yellow, indicating that there are not enough visits to determine a winner. If the icon changes showing a clock with a heart, there is a possible winner, but statistical confidence is low, so things can still change. Finally if a green icon is shown (with a medal), we have a clear winner. If the icon is red, no alternative is better than the original.
- Some metadata about your test. Specifically, you can see the status of the test, how long it has been running, when it started and how it ends.
- The description and scope of the test are also included, if applicable.
The results page shows, in turn, the following information on the progress of a test:
- Test Name
- Evolution with the conversion rate of the control version and all variants, as well as the total number of conversions and visits to the tested pages.
- Two additional graphs showing the conversion rates of each alternative and its degree of improvement over the original, respectively.
- For each of the variants of the test we will see a thumbnail image, if available, the number of visits it has received, its number of conversions, the resulting conversion rate and, for all variants other than the original, the degree of improvement that they have with respect to the control version.
- Finally, a summary of the conversion goals and actions of the test is shown.
Improve Your Web Conversion
You can end a test manually at any time by clicking on the Stop button found in the top right corner of the results page. Remember that a test can also end automatically if the condition indicated in its end mode is met.
After completing a test and to improve the conversion of your website, make sure that you manually apply the CSS rules of the winning variant on your website.
Take Your Business to the Next Level
The Best A/B Testing Plugin for WordPress