The matched products block displays products in your email templates that meet the criteria set in your automation campaign's triggering event.
You can use the matched products block for the following automation campaign types:
- Abandoned basket campaigns
- Abandoned browse campaigns
- Post-purchase campaigns
- Replenishment campaigns
Check for matched product blocks in your templates
Check if you have the unified automation block in your templates.
This block has matched product blocks built in, but is only available in templates built on the latest framework.
It is not compatible with legacy or custom-built templates unless those have been rebuilt by our Creative Team.
How do I know if I’m using the new framework?
You're likely on the latest framework if:
- Your current master templates were built in or after January 2022
- A lot of your blocks have coded settings for options like stack vs. non-stack
If you're not sure, speak to your Customer Success Representative.
Legacy template framework
If you're using our earlier template framework, you can't use the unified product block.
This means you’ll need the matched product block added to your master automation template.
Reach out to your Customer Success Representative, who can request this block for you.
There are three matched product blocks available on request:
- Basket Abandoned
- Browse Abandoned
- Post Purchase
Template block settings
Unified product block (latest template framework)
Set up your template and select the Edit template tab.
Scroll down and click the HTML row for your product block.
Update the automation_type with the number corresponding to the matched product block you want to use, e.g. {% set automation_type = "7" %} for Basket Matched Products.
See Unified automation clock: Configuring unified automation blocks for more information and a full list of options.
Legacy template framework
Find the matched product version of the block and add it to your child template.
For example, use "Matched Product Post-Purchase Block" rather than the standard "Post-Purchase Block".
Code your own matched product block
Use the following merge tags to display the matched products:
| Event | Campaign trigger | Merge tag |
| Basket | Abandoned a basket |
{{ basket.matched_products }} or {{ basket.matched_products[0].title }}
|
| Visit | Made a visit |
{{ visit.matched_products }} or {{ visit.matched_products[0].title }}
|
| Order | Placed an order |
{{ order.matched_products }} or {{ order.matched_products[0].title }}
|
{{ [basket/visit/order].matched_products[0].title }} merge tags all represent lists, which means you'll need to define the index number (e.g. [0],[1], etc.) to get a single product.
We recommend setting a variable to simplify your merge tags:
{% set products = basket.matched_products %}
This allows you to continue using your usual, shorter merge tags like products[x].image_url.
Using matched products to include specific products
This example demonstrates how to use segmentation and the matched products block to include a specific set of products (or even just one product!) in your emails.
First, make sure you've set up your email template and included either:
- a unified automation block with the right automation type, or;
- a matched products block.
Now you can set up your automation campaign.
See also: Create an automation campaign
Choose an entry trigger, e.g. contact has abandoned a basket and set your entry wait.
Next, segment contacts who enter your campaign based on the products you want to include in your email.
In this example (abandoned basket), we'd set the condition:
- "Triggering (event) matches - a basket which includes a product that matches… a specific product."
Apply your filter and continue to set up your automation campaign as usual, including the email template you set up with the corresponding matched product block.
Using matched products to exclude specific products
This example demonstrates how to use segmentation and the matched products block to exclude a specific set of products (or even just one product!) from your emails.
First, make sure you've set up your email template and included either:
- a unified automation block with the right automation type, or;
- a matched products block.
Now you can set up your automation campaign.
See also: Create an automation campaign
Choose an entry trigger, e.g. contact has abandoned a basket and add a condition to define the products or attributes you want to include.
Set your entry wait.
Apply any segmentation you need and continue to set up your automation campaign as usual, including the email template you set up with the corresponding matched product block.
Your matched product block should only pull in products that match the criteria from the entry trigger.
Exclude 'free' items from displaying
If you want to stop zero value items like free gifts or samples from displaying in the matched products block, we recommend setting up the following condition in your segment:
- Triggering event matches - a basket which does not include a product with price - which greater than - 0
Exclude products with specific attributes
To stop items with specific attributes, e.g. "seasonal" from displaying in the matched products block, we recommend setting up the following condition in your segment:
- Triggering event matches - a basket which does not include a product with an attribute - which is one of - [select your attribute]
Comments
0 comments
Article is closed for comments.