Creating a Split Test in Contentful

Content: All content — Shelter England — Contentful

Creating the "B" variant

  1. 1. Firstly you'll need to create the "B" variant of your "A" control page

  2. 2. As an example, I've opened the "Rent, rights and reports" entry here

    As an example, I've opened the "Rent, rights and reports" entry here
  3. 3. Click on Duplicate to create the basis for the "B" variant

    Click on Duplicate to create the basis for the "B" variant
  4. 4. Enter your "B" variant's title

    Enter your "B" variant's title
  5. 5. Select the parent page

    You can use "Tests and demos" as the parent page, as the URL of the ‘B’ variant page will not be visible to users

    Note: You may need to refresh the page after this step to set the slug above

    Select the parent page
  6. 6. Enter the slug for your "B" variant page and click on "Set"

    Enter the slug for your "B" variant page and click on "Set"
  7. 7. Make any necessary edits to the "B" variant page so that it is distinct from the "A" variant page

    For example, if you are A/B testing the body copy on the page, you would need to edit the body copy on the "B" variant page

Creating the Split Test

  1. 8. Click on "Add entry" and select "Split Test"

    Click on "Add entry" and select "Split Test"
  2. 9. Enter your split test name

    Enter your split test name
  3. 10. Enter your split test ID, used for tracking purposes

    Currently we use the format "{page_variant}_{date}"

    eg "donate_images_jan25"

    Enter your split test ID, used for tracking purposes
  4. 11. Set your "A" variant - this is the web page that will be used as a control in the A/B test

    Set your "A" variant - this is the web page that will be used as a control in the A/B test
  5. 12. Set your "B" variant

    Set your "B" variant
  6. 13. Select the "B" variant page that you have created

    Select the "B" variant page that you have created
  7. 14. From here you'll want to publish the "B" variant

    From here you'll want to publish the "B" variant
  8. 15. Now you can deploy your Split Test

    Now you can deploy your Split Test