Loyalty Cart Data Analysis

Contents

Overview

Currently, In-Store orders represent the largest percentage of orders done in our app. Before this improvement our FZs and Business Teams had no visibility on products purchased in In-Store loyalty transactions. This means we could not use basket content to drive decisions such as which campaigns to launch based on specific items guests have purchased. With this feature this is now possible. We have also extended this cart analysis for other Online Loyalty Event transactions.

How does it work?

image (169).png
Splitting loyalty cart data and receiving data in Amplitude

Conducting analysis on cart information sent by Kiosk and POS vendors for In-Store Loyalty orders

Events

To see the events related to this feature, please refer to:

For In-Store Loyalty Transactions, the data that is ingested by Amplitude is the data that is sent by Kiosk / POS vendors to RBI Loyalty. If Kiosk / POS vendors do not send all information on cart data of the order (e.g. product names, prices, plus, etc.), then there will be missing data in Amplitude.

How is it configured?

In order to enable the feature please follow the below steps

mParticle Setup

  • Login to your market’s mParticle dashboard, then click on Connections > Connect and choose your backend input.

If you would like to setup the property only in Staging environment choose backend-dev. If you would like to setup the property only in Production environment choose backend-prod. If you would like to configure both environments please repeat all the below steps for both inputs (backend-dev and then backend-prod).

  • Once you have selected your input, click on Amplitude

  • Then, click on Settings

  • Ensure the item Send Event Attributes as Objects is checked for the brand/environment that will be used and click on Save

Amplitude Setup

  1. First, ensure your Amplitude plan has capacity to introduce a new property. To check this, go to Data > Properties > Event Properties and check that the number of event properties is below the Quote for your Amplitude account

  1. Then, setup property splitting for the Event Property Loyalty Cart Data. Go to Data > Properties > Event Properties > Search for event property Loyalty Cart Data > Click on Loyalty Cart Data > on Details tab set Type > to Array

  1. In the Loyalty Cart Data event property information, go to Details tab > set Item Type > to Any

  2. Last but not least, click on the Splitting Tab > Review the splitting of the data and when you confirm the splitting is correct > Click on the button Save on the bottom right