eCommerce use cases
Braze Canvas offers several pre-built templates tailored specifically for eCommerce marketers, making it easier to implement essential strategies. This page offers some key templates you can use to enhance your customer journeys.
Braze recognizes that data planning takes time. We encourage our customers to familiarize their development teams and begin sending eCommerce events now. While some features may not be available immediately with the eCommerce recommended events, you can look forward to the introduction of new products throughout 2025 that will enhance your eCommerce capabilities.
Using a Canvas template
To use a Canvas template:
- Go to Messaging > Canvas.
- Select Create Canvas > Use a Canvas Template.
- Browse the Braze templates tab for the template you want to use. You can preview a template by selecting its name.
- Select Apply Template for the template you want to use.
eCommerce templates
Abandoned browse
Use the Abandoned browse template to engage users who have browsed products but did not add them to their cart or place an order.
Setup
On the Canvas page, select Use a Canvas Template > Braze templates and then apply the Abandoned browse template.
Default settings
The following settings are pre-configured in your Canvas:
- Basics
- Canvas name: Abandoned browse
- Conversion event:
ecommerce.order placed
- Conversion deadline: 3 days
- Entry schedule
- Action-based when a user performs the
ecommerce.product_viewed
event - Start time is when you create the Canvas template
- Action-based when a user performs the
- Target audience
- Entry audience
- Email is not blank
- You can also modify the entry audience criteria to meet your business needs
- Entry controls
- Users are eligible to re-enter this Canvas after the full duration of the Canvas is complete
- Exit criteria
- Performs
ecommerce.cart_updated
,ecommerce.checkout started
, orecommerce.order_placed
- Performs
- Entry audience
- Send settings
- Users who are subscribed or opted in
- Delay step
- 1 hour delay
- Message step
- Review the email template and HTML block with a Liquid templating example to add products to your message in the pre-built template. If you use your own email template, you can also reference Liquid variables, as demonstrated in the following section.
Abandoned browse product personalization for emails
Here is an example of how you would add an HTML product block for your Abandoned Browse email.
1
2
3
4
5
6
7
8
9
10
11
<table style="width:100%">
<tr>
<th><img src="{{context.${image_url}}}" width="200" height="200"><img></th>
<th align="left">
<ul style="list-style-type: none">
<li>Item: {{context.${product_name}}}</li>
<li>Price: ${{context.${price}}}</li>
</ul>
</th>
</tr>
</table>
Product URL
1
{{context.${product_url}}}
Abandoned cart
Use the Abandoned cart template to cover potential lost sales from customers who added products to their cart but did not continue to checkout or place an order.
Setup
On the Canvas page, select Use a Canvas Template > Braze templates and then apply the Abandoned cart template.
Default settings
The following settings are pre-configured in your Canvas:
- Basics
- Canvas name: Abandoned cart
- Conversion event:
ecommerce.order_placed
- Conversion deadline: 3 days
- Entry schedule
- Action-based trigger when a user triggers the Perform Cart Updated Event (located in the dropdown)
- Start time is when you create the Canvas template
- Target Audience
- Entry audience
- Has used these apps more than 0 times
- Email is not blank
- Entry controls
- Users are immediately re-eligible for Canvas entry
- Exit criteria
- Performs
ecommerce.cart_updated
,ecommerce.checkout_started
, orecommerce.order_placed
- Performs
- Entry audience
- Send settings
- Users who are subscribed or opted in
- Delay step
- 4 hour delay
- Message step
- Review the email template and HTML block with a Liquid templating example to add products to your message in the pre-built template. If you use your own email template, you can also reference Liquid variables, as demonstrated in the following section.
Abandoned cart product personalization for emails
Abandoned cart user journeys require a special shopping_cart
Liquid tag for product personalization.
Here is an example of how you would add an HTML block with your shopping_cart
Liquid tag to add products into your email.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<table style="width:100%">
{% shopping_cart {{context.${cart_id}}} %}
{% for item in shopping_cart.products %}
{% catalog_items <add_your_catalog_name> {{item.variant_id}} %}
<tr>
<th><img src="{{ items[0].variant_image_url }}" width="200" height="200"><img></th>
<th align="left">
<ul style="list-style-type: none">
<li>Item: {{ item.product_name }}</li>
<li>Price: ${{ item.price }}</li>
<li>Quantity: ${{ item.quantity }}</li>
<li>Variant ID: {{ item.variant_id }}</li>
<li>Product URL:{{ item.product_url }}</li>
<li>SKU: {{ item.metadata.sku }}</li>
</ul>
</th>
</tr>
{% endfor %}
</table>
If you use Shopify, add your catalog name to get the variant image URL.
HTML cart URL
If you want to direct users back to their cart, you can add a nested event property under the medata object, such as:
1
{{context.${metadata}.cart_url}}
If you use Shopify, create your cart URL by using this Liquid template:
1
{{context.source}}/checkouts/cn/{{context.cart_id}}
Abandoned checkout
Use the Abandoned checkout template to target customers who started the checkout process but left before placing their order.
Setup
On the Canvas page, select Use a Canvas Template > Braze templates and then apply the Abandoned checkout template.
Default settings
The following settings are pre-configured in your Canvas:
- Basics
- Canvas name: Abandoned checkout
- Conversion event:
ecommerce.order_placed
- Conversion deadline: 3 days
- Entry schedule
- Action-based trigger when a user performs the
ecommerce.checkout_started
event - Start time is when you create the Canvas template
- Action-based trigger when a user performs the
- Target audience
- Entry audience
- Has used these apps more than 0 times
- Email is not blank
- Entry controls
- Users are immediately re-eligible for Canvas entry
- Exit criteria
- Performs the
ecommerce.order_placed
events
- Performs the
- Entry audience
- Send settings
- Users who are subscribed or opted in
- Delay step
- 4 hour delay
- Message step
- Review the email template and HTML block with a Liquid templating example to add products to your message in the pre-built template. If you use your own email template, you can also reference Liquid variables, as demonstrated in the following section.
Abandoned checkout personalization for emails
Abandoned checkout user journeys require a special shopping_cart
Liquid tag for product personalization.
Here is an example of how you would add an HTML block with your shopping_cart
Liquid tag to add products into your email.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<table style="width:100%">
{% shopping_cart {{context.${cart_id}}} :abort_if_not_abandoned false %}
{% for item in shopping_cart.products %}
{% catalog_items <add_your_catalog_name> {{item.variant_id}} %}
<tr>
<th><img src="{{ items[0].variant_image_url }}" width="200" height="200"><img></th>
<th align="left">
<ul style="list-style-type: none">
<li>Item: {{ item.product_name }}</li>
<li>Price: ${{ item.price }}</li>
<li>Quantity: ${{ item.quantity }}</li>
<li>Variant ID: {{ item.variant_id }}</li>
<li>Product URL:{{ item.product_url }}</li>
<li>SKU: {{ item.metadata.sku }}</li>
</ul>
</th>
{% endfor %}
</table>
Checkout URL
1
{{context.${metadata}.checkout_url}}
Order confirmation and feedback survey
Use the Order confirmation & feedback survey template to confirm successful orders and enhance customer satisfaction.
Setup
On the Canvas page, select Use a Canvas Template > Braze templates and then apply the Order confirmation & feedback survey template.
Default settings
The following settings are pre-configured in your Canvas:
- Basics
- Canvas name: Order confirmation with feedback survey
- Conversion event:
ecommerce.session_start
- Conversion deadline: 10 days
- Entry schedule
- Action-based trigger when a user performs the
ecommerce.cart_updated
event - Start time is when you create the Canvas template
- Action-based trigger when a user performs the
- Target audience
- Entry audience
- Has used these apps more than 0 times
- Email is not blank
- Entry controls
- Users are immediately re-eligible for Canvas entry
- Exit criteria
- Not applicable
- Not applicable
- Entry audience
- Send settings
- Users who are subscribed or opted in
- Message step
- Review the email template and HTML block with a Liquid templating example to add products to your message in the pre-built template. If you use your own email template, you can also reference Liquid variables, as demonstrated in the following section.
Order confirmation personalization for emails
Here is an example of how you would add an HTML product block to your order confirmation after an order is placed.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<table style="width:100%">
{% for item in {{context.${products}}} %}
{% catalog_items <add_your_catalog_name> {{item.variant_id}} %}
<tr>
<th><img src="{{ items[0].variant_image_url }}" width="200" height="200" /></th>
<th align="left">
<ul style="list-style-type: none">
<li>Item: {{item.product_name}}</li>
<li>Price: {{item.price}}</li>
<li>Quantity: {{item.quantity}}</li>
</ul>
</th>
</tr>
{% endfor %}
</table>
Order status URL
1
{{context.${metadata}.order_status_url}}
Message personalization
Liquid is a powerful templating language used by Braze that allows you to create dynamic and personalized content for your customers. By using Liquid tags, you can customize messages based on customer data, product information, and other variables, enhancing the shopping experience and driving engagement.
Key features of Liquid
- Dynamic content: Insert customer-specific information such as names, order details, and preferences into your messages.
- Conditional logic: Use if/else statements to display different content based on specific conditions (such as customer location and purchase history).
- Loops: Iterate over collections of products or customer data to display lists or grids of items.
Getting started with Liquid
To begin personalizing your messages using Liquid tags, you can refer to the following resources:
- Shopify data reference with pre-defined liquid tags
- Liquid
Segmentation
Use Braze segments to create targeted customer segments based on specific attributes and behaviors, and deliver personalized messaging and campaigns. With this powerful feature, you can effectively engage your customers by reaching the right audience with the right message at the right time.
For more information on getting started with segments, check out About Braze segments.
Recommended events
eCommerce events are based on recommended events. Because recommended events are more opinionated custom events, you can search for the recommended eCommerce event names by selecting any custom event filter.
Nested event properties
To segment by nested event properties, you can leverage Segment Extensions. For example, you can use Segment Extensions to find who has bought the product “SKU-123” in the last 90 days.
Analytics
At this time, the Shopify integration doesn’t support populating the Braze purchase event. As a result, purchase filters, Liquid tags, action-based triggered, and analytics should use the ecommerce.order_placed event.
To create a Custom Events report based on who has performed an event supported through the integration, you can specify the specific event name.
To gain insights into the trends related to orders placed from your launched Canvases, you will need to set up a Conversions Dashboard and specify your Canvases.
For more advanced reporting use cases, you can use the Braze Query Builder to generate custom reports.