Introduction
Sending cart abandonment campaigns is a highly effective strategy for e-commerce marketers, primarily because these campaigns directly address potential sales that did not initially convert. Benefits of such campaigns include recovering lost sales, increasing conversion rates, gaining insights into customer behaviour, personalizing customer interactions, and enhancing customer loyalty. These strategies not only help optimize the checkout process but also play a significant role in boosting overall customer engagement and retention.
With the swift and seamless Shopify integration, you can effortlessly import catalog and user interaction data in just a few minutes. This enables you to initiate effective cart recovery campaigns right from the outset.
In this article, we will create a Push campaign to target users who have abandoned a product or multiple products in their cart. We will use MoEngage Recommendations to send a personalized message to these users and recommended a similar list of products to them.
Expected Result
Users receive a Push Notification on their phones 30 minutes after the cart abandonment, having content personalized with the item they added to the cart but did not purchase.
library_add_check |
Prerequisites
|
Shopify Integration
The Shopify and MoEngage integration allows you to seamlessly integrate MoEngage Web SDK to your brand's Shopify store to track user events and data. With this integration, you can enable real-time data sync, provide personalized recommendations, and increase conversions using cross-channel engagement.
To learn how to integrate MoEngage Web SDK with a Shopify store, refer here.
Create a Recommendation
In this section, let us create a cart abandonment recommendation.
Map User Action Events
To map user events to MoEngage standard events, perform the following steps:
- Go to Content > Recommendations from the left navigation. The Recommendations page is displayed. Click Map user actions to navigate to the standard event mapping page.
- Click + Add event under Actions for the "Added to Cart" user action bucket. The Add Event pop-up window is displayed.
- From the Event name drop-down list, select the event "Shopify - Add To Cart".
- From the Event Attribute drop-down list, select event attribute "Variation ID" as the unique item ID attribute.
- Click Add event. MoEngage Recommendations start listening to this user event-attribute pair for all such events performed after mapping time. You can check the event mapping time by expanding a bucket.
Create a Recommendation Set
In this section, let us create a recommendation based on the users' actions:
- Navigate to the MoEngage Dashboard and select Content > Recommendations from the left navigation. The Recommendations page is displayed.
- At the top right corner, click + Create recommendation. It takes you to the first step "Select recommendation model".
- In the Filter by user action and item attributes section, select the User Actions model.
- Click Next. It takes you to the second step "Create recommendation". Enter the following details:
- Recommendation name: Enter a name for the recommendation. For example, "AbandonedCart". This will be the designated placeholder name for recommendations, which you can use while personalizing campaigns.
- Recommendation Description: Enter a description for the recommendation.
- Catalog: Select the catalog that has the list of products provided in your platform with all their related information.
- In the Filter recommendations by user actions section, filter the products that the user has added to their cart but not purchased.
- From the Item where user performed drop-down list, select “Added to Cart”.
- Select the Exclude checkbox.
- From the Item where user performed drop-down list under Exclude, select “Product Purchased”.
- Click + Filter to add a filter for the users who have removed a product from their cart.
This query provides the list of products that users have added to their carts and excludes the products that have been purchased or removed from the users's carts.
- Click + Filter to add a filter for the users who have removed a product from their cart.
- Click Create to save the changes and create the recommendation. The status of the same will be "Active" on the Recommendations page.
Now that the recommendation is created, you can use this recommendation in your campaigns.
Create a Push Campaign
In this section, let us create a Push campaign with recommendations of product that user has added to cart but did not purchase. We will be sending this campaign after 30 minutes of cart addition.
- Navigate to the sidebar on the left and click Engage > Campaigns and click + Create campaign or click + Create new > Campaign.
- Under Outbound, select Push > Event Triggered.
You are taken to the first step "Target users" of defining your campaign.
Step 1: Target Users
- Enter the following details:
- Team: Select a team if your organization has teams enabled for your account. For more information, refer to Teams in MoEngage. For example, "Demo team".
- Campaign name: Enter a name for the campaign. For example, "Cart Reminder Campaign".
-
Campaign tags: Select the required campaign tags.
- Under Trigger Criteria, define the criteria. We must trigger the communication only if the user has not bought the same product that they added to the cart as the initial check. This means that we must define a dynamic check using Linked Conditions while defining the trigger condition. To learn more about Linked Conditions, click here.
- To define the dynamic check mentioned above:
- In the IF user section, select <Shopify - Add To Cart> from the drop-down.
- Under THEN trigger the message, select With Delay and define the delay based on the requirement, say 30 minutes. This will be the maximum time the user will be evaluated to fulfill the conditions from the time the first condition was fulfilled.
The Select Condition section will look like below:
- In the Target Audience section, select All users.
- In the Target Platforms section, select platform as per the use case. You should select all those platforms that you would like to target the users in.
- Click Next to move to the second step "Content" where you can define the content that will go into your Push campaign.
Step 2: Content
- Select the template that you like to go with. For our example, select Basic notification.
- Enter the required content for the campaign that will be defined alongside the personalized product name value. For example:
- Message title
- Message
- Message summary
- To define the personalization placeholder, select the product set that is generated through the recommendation that you defined. Enter “@” and search for “AbandonedCart”, the name of the recommendation that you built, in the Push Personalization pop-up.
- Click Done. Replace the product personalization placeholder with the following JINJA code in the Message field:
{% if ProductSet.AbandonedCart%}
{% for product in ProductSet.AbandonedCart[0:1]%}
{{product.title}}
{% endfor %}
{% else %}
MOE_NOT_SEND
{% endif %} - The {{product.title}} in Line 3 points to the title of the cart product in the product set generated from our recommendation. For more information, refer to MoEngage Templating Language (JINJA).
- Enter the following code to get the image of the selected product above:
{% if ProductSet.AbandonedCart%}
{% for product in ProductSet.AbandonedCart[0:1]%}
{{product.image_link}}
{% endfor %}
{% else %}
MOE_NOT_SEND
{% endif %}
- Personalize the content further by entering information such the URL, adding buttons in the Buttons section, and/or adding coupons in the Advanced section.
info Information
The campaigns might show “Personalization Errors” for the users who have viewed/added the product to the cart but also purchased the same item. This campaign will be targeted only when user has added to cart but did not purchase that item within 30 minutes of cart addition.
- Click Next to move to the third step "Schedule and goals" where you can define the schedule and goal of your campaign.
Step 3: Schedule and Goals
- In the Send campaign section, define when you want to start and end your campaign.
- In the Conversion goals section, add conversion goals that you like to track.
- Define Delivery controls and Advanced settings based on your requirements. For more information, refer to Create Push Campaigns.
- Click Publish.
Conclusion
In this use case, we created a Push campaign to target users who have abandoned a product or multiple products in their cart. Afterwards, we used MoEngage Recommendations to send a personalized message to these users and recommended a similar list of products to them.
With these recommendations, your abandoned cart recovery rate will surely improve and engage your users. For more information on Recommendations, refer to MoEngage Recommendations suite.