Tutorials
Abandoned Cart Reminder for Mobile Users
Abandoned Cart Reminder for Mobile Users

Abandoned Cart Reminder for Mobile Users

For many types of business, a mobile application is an additional source of generating revenue. If the customer journey of your application contains steps to make an order or complete a purchase, Moments and Mobile push notifications can help you increase the conversion rate at different steps in the funnel.

This tutorial describes a Flow that can help increase the conversion rate for making an order or purchased based on putting items into the cart. The tutorial will benefit e-commerce applications, classifieds, food delivery and all other applications that have a catalog of items.

You can find this Flow as a template in Moments and set it up for your application or create it from the scratch. The template 'Abandoned cart reminder for mobile users' sets up a Flow for sending a series of push notifications for users who put items into their shopping cart but who have not completed their order.

Before Getting Started

To get started with this tutorial, you must have an Infobip account. Log in (opens in a new tab) or sign up (opens in a new tab) for an account.

Prerequisites

Once you have access to your Infobip account, you need to set up the Mobile SDK in your app by following the instructions on Mobile App Quick Start.

Next, you must set up your app to send custom events from your application to the Infobip platform when the user puts an item in their cart and then finishes their order. Follow the instructions below to do this.

  1. Log in (opens in a new tab) to the web interface. Go to the People module > tab Events.
  2. Select Template Events and search for the 'Added to cart' custom event. Click on it to open the event and see the event name, definition ID, and event properties. mam-abandoned-cart-custom-event-definition
  3. Using the definition ID of this event, set up tracking this event every time a mobile user adds an item to the cart in the mobile app. For integration of template events, take a look at the Custom Events documentation as template events work in the same way.
  4. To track events when a user completes a purchase, repeat steps 1 to 3 but use the pre-existing event called 'Complete Purchase' instead of the 'Added to cart' event.
IMPORTANT

If you also have a website and use the same events for adding to cart and completing purchases you will find that push notifications will be sent when the user completes those actions on the website.

This can be helpful if you would like to increase mobile engagement and conversion rates in your shop platform and supports a combined web/mobile experience (i.e. when a user marks an item as favorite on a website, the item will appear as a favorite in the mobile app). If you don't want this level of integration then consider using different custom events for web and mobile platforms.

After you have created your Mobile App and prepared the custom events, continue this tutorial by following the Implementation Steps below to learn how to create your Flow.

Implementation Steps

After you have created your Mobile App and prepared the custom events, continue this tutorial by following the Implementation Steps below to learn how to create your Flow.

  1. Log in (opens in a new tab) to the web interface, go to the Moments module and Click Create Flow > Start from Scratch. Select Trigger and click People Real-Time Event.

  2. Under Conditions, find and select the 'Added to cart' event in the search bar.

    mam-abandoned-cart-trigger
  3. Add the Wait for an eventelement, add a condition and select the 'Complete Purchase' event from –°ustom events and set a waiting time of 1 day or less.

    mam-abandoned-cart-wait-for-event
  4. For the 'If none matched' branch add theSend Push notification element, choose your application and define the message content. This is where you can remind the user that their favorite items are still in their cart and that they can complete their purchase.

    mam-abandoned-cart-send-push-notification
  5. To lead a user to a specific page in your app like the shopping cart, choose Page in Mobile Appin On Tap Actionand define the Deep link. When finished, click **FINISH EDITING.

    mam-abandoned-cart-deep-link
  6. If the customer still hasn't completed the purchase process you can even send a second notification reminder to encourage the user to complete. Add another Wait for event element with the same conditions and an extra Send push notification element (steps 3 -4) but change the text of the second push notification to include a promo code to encourage your user to complete the process.

  7. When you are ready to send your message, click VALIDATE, and then LAUNCH NOW.

Your completed Flow should look something like this.

mam-abandoned-cart-full-flow

Need assistance

Explore Infobip tutorials

Encountering issues

Contact our support

What's new? Check out

Release notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Service Terms & ConditionsPrivacy policyTerms of use