Getting started
- Open a new incognito window for each test to bypass caching.
- Use the preview button to see variations without caching.
What’s a recipe?
A recipe in Context is a combination of content variations, rules, and analytics that help personalize your Shopify store. Recipes allow you to:
- Create content variations using your native Shopify theme sections.
- Apply rules to determine when and where variations should be displayed.
- Measure success through analytics.
Creating a recipe
Give your recipe a unique name, then select "Create Recipe."
Content variations
Context enables dynamic content variations using your native Shopify theme sections and the native Shopify theme editor. Once installed, Context scans your templates and identifies all sections applied to your templates. Each section is categorized by the template it belongs to (e.g., homepage, collections, product pages, etc.).
Creating Variations
To create content variations:
- Select the “+ Variation” button in Context to create a new variation.
- Using the native Shopify theme editor configure your content variations for the new audience.
- Select the variation and save the recipe
A/B Testing
Easily test multiple content variations without writing code. Select two or more variations within any section, and A/B testing will be automatically enabled.
Rules
Rules define the conditions under which content variations are displayed. Context supports rules based on:
- Customer Segmentation (Shopify and Klaviyo)
- Date Range
- Geographic Location
- UTM Parameters
- Domain Referrer
- Weather
Recipe Hierarchy
The order of recipes on the dashboard is important to understand.
When a user visits your store, Context starts evaluating which recipe applies to them. Since multiple recipes could be triggered for a given visitor, their order determines which one takes effect.
Once Context finds the first matching recipe, it loads the associated content variations.
Example
Imagine you have three recipes targeting visitors from Toronto:
- Toronto Visitors – Displays generic content for users in Toronto.
- Warm Weather in Toronto – Displays summer-related content when it's warm.
- Cold Weather in Toronto – Displays winter-related content when it's cold.
Since Context evaluates recipes from top to bottom, if "Toronto Visitors" is listed first, it will always trigger before the more targeted weather-based recipes.
To ensure visitors see content relevant to the weather, the warm and cold weather recipes should be placed above the general Toronto recipe. That way, Context will check for weather conditions first before defaulting to the general location-based recipe.
Ordering recipes is simple
Select the ordering icons on the left side of each recipe and drag it into the most effective position.
Analytics
Analytics allow you to track the performance of your recipes and optimize personalization efforts.