Skip to main content

Customer Experience

AB Testing Shared Content with SCORE Snippets

Ab Testing In Sitecore

One of the main draws for companies to purchase Sitecore is the robust marketing functionality; the ability for marketers to set up on their own, campaigns, email automation, personalization, AB tests and see the analytics from all of these efforts. 

While Sitecore has a lot of out-of-the-box (OOTB) marketing capabilities, some functionality requires a little bit extra. Marketers have been able to run a component test in Sitecore for many versions now and in Sitecore 8, page-level testing was added. The new testing type provided a solution to testing multiple components together as one experience versus another set. However, this experience has to be page-specific or in other words, all of the components on the page are participating in the test, even inadvertently, or none of them. If you want to perform an AB  on a landing page using two components as one experience and two different components as the second, this presented a problem if creating a new version or copy of the page to do the test. 

Problem Solver 3000: SCORE 3.1.11.0 Snippets 

A skosh of a backstory: SCORE is an all-in-one accelerator to get you from Sitecore OOTB to up and running with 40+ templates for pages and components to start building now. It gives our Sitecore customers everything they need to jump-start their implementation down the right path to deliver efficiently built sites – whether it is the first site or the fifty-first. Snippets are one of the templates that come with SCORE. 

As Sitecore continues to add new marketing features, we at Brainjocks continue to add complementary features to SCORE as well. One of the first exciting features was the ability to personalize using Snippets (For more information on macro personalization with Snippets, check out Brian Beckham’s blog series.)

Recently, Snippets were upgraded so that not only can you personalize your site using snippets, but you can now AB test them too! Now, let’s look at an example of one of the 3000 problems this solver solves: Testing shared content such as a main navigation. 

More often than not, and even with the components available in SCORE, a main navigation is built using multiple components. A dropdown menu here, a featured product component there. It’s logical to dissect a main navigation into small components that can be easily reused and rearranged in different ways. 

Assuming this approach is how your main navigation is built, AB testing presents a challenge: How do I test multiple components as one experience that span multiple pages when the testing options are content testing, dependent on a data source, and page testing, dependent on everything being on a page tested against another page or version of the same page?

Remember the Problem Solver 3000? The new update to Snippets allows users to build a collection of components or in this case, the main navigation, in a snippet outside of the context of a specific page. A Sitecore component test can then be set up on the Snippet using the same test objectives such as goal triggering (and if you are using SCORE, Jill Grozalsky explains how Experience Rules make this a breeze in her blog post, Introducing Experience Rules). 

Once the test is set up and started, the main navigation Snippet can be added to the standard values of all your page templates (if not already), published and ta-da: the test is running, added everywhere the Snippet is referenced across your site and providing a consistent experience for the visitors participating!

Want to know or see more? Have questions? Comment below, submit the contact form or you can always reach me on LinkedIn and Twitter @sitecorejo!

And for those located in Florida and the Tampa Bay area, check out the Florida Sitecore User Group and join us at the meetings. Check out the events and stay up-to-date on Twitter @FloridaSitecore!

::mic drop::

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Jo Troxell, Senior Digital Strategy Consultant

Jo Troxell is a digital and technology analyst who has vast experience in digital strategy and implementation, quality assurance, content management, front and back end development. He drives data-led marketing efforts for his clients. Jo works with clients to help them grow their business as they focus on reaching digital maturity through personalization, A/B testing, analytics to help them grow further, faster.

More from this Author

Follow Us