Skip to main content
Tutorial

Use Case Guide: Mitigate cart abandonment to drive conversions

  • 24 July 2024
  • 0 replies
  • 53 views

Set up a campaign to track and mitigate cart abandonment so you can win back customers

 

Target KPI: Increase First-time Purchases

Desired Outcome: Email campaigns targeting cart abandoners are proven as an effective way to increase purchase conversion rate to drive sales. Activating this use-case can increase revenue while empowering you to keep an eye on your purchase funnel drop-off points.

---

Step 1: Add the required Sources


In your workspace, add a new prod or dev source for your website and (optional) another for your order processing system. This should be your website where checkout events will be tracked and the system that captures completed orders. These sources will be responsible for collecting the required Track Events and sending them to Segment.

 

Sign Up or Log In to Segment

First, access the Segment platform by signing up or logging into your existing account.

 

Create a Source for Your Website

A source in Segment acts as the origin of data you collect, such as user interactions on your website.

  1. In your Segment workspace, navigate to the Sources section.
  2. Click the Add Source button.
  3. From the catalog of sources, select JavaScript (for websites)
  4. Provide a name for your source, e.g., "i.e. Company Website - Dev or Prod".
  5. Optionally, add labels for organization.
  6. Enter your website URL.
  7. Click Create Source button

AD_4nXdDSesbAfEY-IB84kjEoLYbs1sK-fhigT1c40HERURc6Z9_nyTOam04M7ZIDF-cCDmvzobzMHketriBRjdzz3FGLQ9n4RXPfkx9gdTeVQBx9ejeC4TJ6rg0NI38ElYWz47_h0VY8CZMaH2UsNlgZbOv4GBf?key=9Lm1eYfOfJWERt8eSzFQ0A

Install the Segment Snippet

After creating your source, Segment will provide you with a JavaScript snippet.

  1. Copy the JavaScript snippet provided by Segment.
  2. Paste the snippet into the <head> tag of your site to install Segment.

If you need to add a source for your server, mobile app, or any other touchpoint please refer to the documentation for easy setup

 

Step 2: Track your events

 

In order to build the funnels needed to measure cart abandonment, you'll need to track two key events: ‘Order Completed’ and 'Checkout Started' from your website source.

AD_4nXf-2UugXQWupa5MXCtui1CYcGAwgFG-U5hsjuVhacY6fWeKQ1iZ1aAQoKAoUhMH1HF1r5uzMnKbyrQvUb0KFnRqdfTdAu3Viw2I7lJ7UkHK9eL_u1DggQAqYZaRxtvp6Kt2QpcsWw4qzKJb2KxE2Fov-Uus?key=MKLZGYe4ezPqsoqc2o4cfQ

 

It should be noted that ‘Checkout Started’ and 'Order Completed' should trigger an Identify call because these events allow you to tie a user to their actions and record traits about them. This can further be used for personalized messaging ( i.e. Hi {{first_name}}, your cart is waiting for you). 

 

Only Identify calls can add and update user traits to a profile. For connections-only customers, the Identify event can still be mapped to downstream destinations to create/update user profiles.

 

Step 3: Add Destinations

 

Now, you'll need to decide where you want to send this data. This could be a marketing automation tool like Braze, or an email marketing platform like Mailchimp. In your Segment workspace, add a new destination and select your tool of choice from the catalog. This destination will receive the data collected by your source and use it according to your needs. We recommend starting with an analytics tool to see the events flowing and build out the funnels you need to measure.
 

Step 4: Test your setup


Finally, test your setup to ensure data is being collected and sent correctly. You can do this by performing the actions you're tracking on your dev website and checking if the corresponding events appear in your Segment debugger and analytics tool.

 

AD_4nXc_qFoctLJW7kHi7yM-RTXAlwBcNF9r7nKkDZZFlZwfrFVJ-GtWdrXgWCbq8XXMZZc7ETyTxW8sUIAXk5Byc0VEkM_3X_pLV5e43LzhiOoVay8HNeFkErRvrcktGDLiPljfkMWPkgh0hXF1EqILlCUr597i?key=MKLZGYe4ezPqsoqc2o4cfQ

 

The Source Debugger is a tool that helps you confirm that API calls made from your website, mobile app, or servers arrive to your Segment Source, so you can troubleshoot your Segment setup even quicker. 


Your data may not show up instantaneously and there may be a delay, but once the data is flowing you are ready to move to the next step.

 

Step 5: Analyze and activate


Once your setup is looking accurate and data is flowing into your destinations, you can start analyzing it. For instance, you can identify users who started the checkout process but didn't complete an order – these are your cart abandoners. You can then create targeted marketing campaigns to encourage these users to complete their purchase.

 

With a platform like Braze you can use the data that you’ve collected to activate your campaign with a targeted email to re-engage cart abandoners as pictured in the example below. .

AD_4nXersQ8ymI4y9D4V0qqZ9-RnSod1o8n60ueRSgYcqAxFnlHkN97l8IZixDFKgyo6d4mwRtlzJ450Hl4wZsTW9Abz3acN_-JUASkUvB_dzpst2mOU5GYtux73AMD9d_AJJVGnlSJqAXOVX9uZCjhOSxsIcwsp?key=MKLZGYe4ezPqsoqc2o4cfQ

Example of cart abandonment campaign

 

Final thoughts

 

Understanding and addressing the reasons behind cart abandonment can transform lost opportunities into fulfilled sales and repeat customers. Cart abandoners account for $4 trillion in lost revenue annually. Online purchase journeys aren’t straightforward. Sometimes, shoppers need a little push on their path to purchase.

With Twilio Segment, you can easily pinpoint where potential customers are dropping off and why, allowing for the implementation of targeted interventions to re-engage them and complete the sales cycle.

This simplifies this process by seamlessly integrating with your existing data to provide a comprehensive view of customer interactions across multiple touchpoints to mitigate card abandonment and drive conversions.
 

Want to discuss this topic with the community? Start a thread in our Discussion Forum.

This topic has been closed for comments