Skip to main content
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 TypeEvent NameDescription
Product EventProduct ViewedThis 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 EventProduct SearchedThis 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 EventShopify - Add To Cart and Shopify -Update CartThis 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 EventRemoved from CartThis 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 EventCustomer RegisteredThis 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 EventCustomer Logged InThis 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 EventCustomer Logged OutTracked when a customer logs out of the Shopify store.
Checkout EventShopify - Checkout StartedThis event is tracked when the customer checks out items in their cart.
Checkout EventShopify - Checkout updatedThis event is tracked when the customer updates their cart during checkout.
Order EventShopify - Order placedThis event is tracked when a customer 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 EventShopify - Order fulfilledThis event is tracked when an order is fulfilled and is ready to be shipped to the customer.
Order EventShopify - Order partially fulfilledThis event is tracked when an order is fulfilled but partially. This is raised when some items of the orders are fulfilled and some are not.
Order EventShopify - Order cancelledThis event is tracked when an order is canceled.
Order EventShopify - Refund createdThis 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.\
You can not use “moe_” as a prefix while naming events, event attributes, or user attributes. It is a system prefix and using it might result in periodic blacklisting without prior communication.

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

{
    "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

{
    "Event Received Time": "17th July 2023, 03:25:55 pm",
    “Email”: [email protected],
    “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"
}

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 NameDescription
First NameFirst Name of the user.
LastNameLast Name of the user.
MobileMobile Number of the user.
EmailEmail address of the user.
TagsTags used for the user by Shopify.
Accepts MarketingDenotes whether the user prefers to receive marketing communication. This is tracked by Shopify.
Orders CountNumber of orders placed by the user.
Shopify IdId of the user in Shopify.
Shopify LTVLife 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 NumberThe 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.
Eventsand User Data Tracking1
If you have any questions about the working of your Shopify integration read our FAQs