Events and User Data Tracking

Events and User Data tracking helps you send user and event data to MoEngage. MoEngage can then track these events and enable you to send personalized communication to users upon the occurrence of these events.

Tracked Events

The following events can be tracked by MoEngage if enabled on your Shopify app during integration.

Event Type

Event Name

Description

Product Event

 

Product Viewed

This event is tracked when a user views a product. You can use this event to show personalized recommendations of similar products to the user or if the user happens to view a product that is out of stock, you can notify them when the item is back in stock, and so on.

Product Event

 

Product

Searched

This is event is tracked when a product is searched. You can use this event to show personalized recommendations based on the user's search preferences. For example, if a user were to search for a cosmetic product such as toner, you could show them recommendations for toners or allied skin care products.

Cart Event

Add To Cart and Update Cart

This event is tracked when a product is added to cart, or the cart is updated. This can be used to track cart abandonment, and you can engage with customers who've added items to their cart but not acted on it.

Cart Event

Removed from Cart

This event is tracked when a product is removed from cart. You can nudge users towards a purchase with recommendations for similar items or engage with them based on their past purchase history, and so on.

User Login Event Customer Registered This event is tracked when a customer registers with the Shopify store. This event can be used to show welcome messages to the user and used for onboarding communication.

User Login Event

Customer Logged In

This event is tracked when a customer logs in to the Shopify store. This event can be used to show relevant offers and nudge customers to act on items in their cart or nudge them towards subscribing to newsletters, and so on.

User Login Event

Customer Logged Out

Tracked when a customer logs out of the Shopify store.

Checkout Event

Checkout Started

This event is tracked when the customer checks out items in their cart. 

Checkout Event

Checkout updated

This event is tracked when the customer updates their cart during checkout.

Order Event

Order placed

This event is tracked when a customer successfully completes the purchase. This event can be used to send order summary communication, show subscription-related messages, and nudge users to sign up for loyalty programs.

Order Event

Order fulfilled

This event is tracked when an order is successfully delivered to the customer. This event can be used to send surveys to customers to rate their shopping experience.

Order Event

 

Order partially fulfilled

This event is tracked when an order is fulfilled but partially. 

Order Event

Order cancelled

This event is tracked when an order is canceled. 

Order Event

Refund created

This event is tracked when a refund has been created for the customer, either due to cancellation or complaints. These events can be used to send personalized communication to the users to ensure that they do not churn.

Types of Events

Events are generally generated from two ends:

  1. Webhook - These events are generated at the Shopify end and sent to MoEngage using the Webhook.
  2. Web SDK - These events are generated by MoEngage's Web SDK based on user behavior on the website. For more information, refer to Web SDK events.

The sample payloads for both these kinds of events are shared below.

Sample Payloads for Webhook Events

Update Cart Removed From Cart Abandoned Cart Checkout Started Checkout Updated Checkout Updated after Shipment Abandoned Checkout Order Placed Order Partially Fulfiled Order Fulfiled Order Cancelled Refund Created
{
    "Event Received Time": "17th July 2023, 03:25:55 pm",
    “Product Title”: “Sample Product”,
    "Updated At": "17th July 2023, 03:26:15 pm",
    "Variation ID": "123456",
    "Currency": "USD",
    "cart_token": "c1-fcdd3207bee3eef9f98abefaf2ca...",
    "Product ID": "845236547",
    "Price": 555.99,
    “Source”: “Shopify”,
    "Vendor Name": "845236547",
    "Created At": "17th July 2023, 03:25:55 pm",
    "Quantity": 2
}

Sample Payloads for Web SDK Events

Product Viewed Product Searched Add to Cart Update Cart Removed From Cart Customer Registered Customer Logged In Checkout Started Order Placed Item Purchased
{
    "Event Received Time": "17th July 2023, 03:25:55 pm",
    “Email”: “john.doe@example.com”,
    “Product Title”: “Sample Product”,
    "Variation ID": "123456",
    "Total Variants": 3,
    "Product Handle": "Product 1",
    "Available": true,
    "Currency": "USD",
    "Product ID": "845236547",
    "Price": 555.99,
     “Source”: “Shopify”,
     "Quantity": 3,
     "First Session": true,
     "URL": "URL of the Viewed Product Here"
}

Sample Payloads for Web SDK Events

 

Tracked User Properties

The following user properties (information pertaining to the user) can be tracked by MoEngage if enabled on your Shopify app during integration.

Attribute Name Description
First Name First Name of the user.

LastName

Last Name of the user.

Mobile

Mobile Number of the user.

 

Email

Email address of the user.

Tags

Tags used for the user by Shopify.

Accepts Marketing

Denotes whether the user prefers to receive marketing communication. This is tracked by Shopify. 

Orders Count

Number of orders placed by the user.

Shopify Id

Id of the user in Shopify.

Shopify LTV

Life Time Value of the user. This is the total sum of revenue present in the App Conversion Goal event performed by a user. LTV is updated every time the app conversion goal event is executed by the user.

Shipping Mobile Number

The mobile number of the user to whom the item will be shipped.

To track events and user data on the MoEngage Shopify app:

  1. Navigate to the Configuration tab in your Shopify app.
  2. Select user events and properties that you want to track or be tracked.
  3. Click Save configuration.

User Events (1).png

Enable Web personalization

MoEngage's Web personalization helps you personalize the website experience for every visitor with limited or no involvement from tech teams. To use MoEngage's Web Personalization for your Shopify store:

  1. Web Personalization should be enabled for your MoEngage account. If it is not enabled for your account, contact your CSM or drop an email to support@moengage.com.
  2. Turn on the Enable web personalization on your store toggle.
info

Information

If you have any questions about the working of your Shopify integration read our FAQs

Was this article helpful?
0 out of 1 found this helpful

How can we improve this article?