How to A/B test a Sitecore form to optimize for conversions - Part 1

Blog | Digital
Written By: Sana KamalmazPublished On: Feb 28 2020

Can you think of a website that doesn’t include a form of any kind? I can’t. Forms are an indispensable part of the lead generation machine. Think signing up for a newsletter, registering for a webinar, downloading a useful resource (most of the times), requesting a demo, subscribing for a free trial. They all involve filling out a form of some sort. And because forms are essential, it is important that they are well thought of and designed to maximize conversions.

When we create forms, it can be tempting to use our intuition to predict what will make people click and convert. But basing such decisions on a "feeling" can be detrimental to results. Rather than relying on guesses or assumptions to make these decisions, you're much better off running an A/B test.

In this post, I’ll walk you through how to A/B test a Sitecore form to maximize conversions. We’ll use a simple scenario: we have a simple lead generation form that we wish to optimize for conversions. We have a list of things that we believe would improve conversion. At the top of the list we’ve identified changing the copy of the action button to something that tells users what they will get when they submit the form. So, we’ll start there and create a variation of the form with a different action button copy, we’ll create a component test and set the parameters: the percentage of visitors who will be included in the test, how long it’ll run for, and how much statistical significate we need; and finally, we’ll review the results. This post is for marketers and Sitecore content authors who know the basics of Sitecore content authoring.

So how is it done?

Optimizing a Sitecore form for conversions using A/B testing

Step one: Duplicate the Sitecore form

  1. Log in to Sitecore
  2. Go to the Content Editor
  3. In the content tree, scroll to the Forms node and click on the little triangle to expand it
  4. Right-click the form you wish to test and click Duplicate

    Duplicate the Sitecore form

  5. Give the duplicate a name. I named mine Sample Lead Generation From B
  6. Now you have 2 versions of the form

Step two: Edit the newly created variation of the form

  1. In Sitecore Launchpad, click Forms
  2. In Forms, click the duplicate form you’ve just created

    Select the form

  3. Here, you can edit the form and introduce the changes you wish to test

    Sitecore form editor

  4. Click the submit button in the form
  5. Change the label from Submit to Download your free Guide!
  6. Click Apply
  7. Click Save

    Edit the duplicate form

  8. Publish the newly-created form

Now that we have two variations of the form with one element being different, we’re ready to test

Step three: Create a component test

  1. In Sitecore Experience Editor, navigate to the page where the form you wish to test is
  2. Click the form
  3. In the floating toolbar, click the Test the component icon

    Test the component

  4. In the Test the rendering dialog box that appears, click New Variation
  5. Give the new variation a name
  6. Click the three dots in the Test Content Item field
  7. In the Select the Associated Content dialog box, select the new form (the variation of the form you created in Step one: Duplicate the Sitecore form) and click Ok
  8. The Test the rendering dialog box should look like this

    Create test

  9. Click Ok
  10. Click the save button at the top-left corner of the Experience Editor

At this point, we've created a variation of the form and created a test. In part 2 of this post, we'll set the test parameters and start testing. 

About the AuthorSana Kamalmaz
Sana KamalmazDirector, Digital Strategy