> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How Do I Integrate MoEngage with Gameball?

> Enhance Your Customer Engagement with Gameball Integration with MoEngage

[MoEngage](https://www.moengage.com/) is an Intelligent Customer Engagement Platform that allows brands to personalize every customer interaction, driving better engagement, retention, loyalty, and lifetime value. The MoEngage and Gameball integration enables you to harness the full potential of both platforms to enhance your customer engagement strategies.

***

## Data Import Scenarios

The integration between Gameball and MoEngage ensures that your customer data is always up-to-date. Gameball's customer attributes will be imported into MoEngage whenever a customer is created or performs any action.

> [accordion] Customer Attributes Sync
>
> **Trigger:** Upon customer creation or after any new action (e.g., achievement, transaction, points expiry).
>
> Gameball's customer attributes will be imported and updated in MoEngage automatically. The following data is synced:
>
> | # | Gameball Attribute |
> | - | - |
> | 1 | Account State |
> | 2 | Join Date |
> | 3 | Birthday |
> | 4 | Country |
> | 5 | City |
> | 6 | Tier Name |
> | 7 | Wallet Points |
> | 8 | Pending Points |
> | 9 | Active Points |
> | 10 | Tier Progress |
> | 11 | Tier ID |
> | 12 | Completed Reward Campaigns |
> | 13 | Referral Code |
> | 14 | Referral Link |
> | 15 | Tags and Segments |
> | 16 | Latest Created Coupon |
> | 17 | Latest Used Coupon |
> | 18 | Total Net Amount of Transactions |
> | 19 | Earned Points |
> | 20 | Expired Points |
> | 21 | Redeemed Points |
> | 22 | Next Expiring Points Amount |
> | 23 | Next Expiring Points Value |
> | 24 | Next Expiring Points Date |
> | 25 | Starting Store |
> | 26 | Average Basket Size |
> | 27 | First Captured Order Date |
> | 28 | Connecting Store |
> | 29 | Store of First Transaction |
> | 30 | Transactions Amount in the Last Rolling Year |
> | 31 | Unit per Transaction |
> | 32 | Last Order Awarded Points |
> | 33 | Currency |
> | 34 | Source |

> [accordion] Order Placed Event
>
> **Trigger:** Order placed by customer and received by Gameball.
>
> Once an order is placed, the following order data is sent to MoEngage:
>
> | Attribute | Description |
> | - | - |
> | Order ID | Unique order identifier |
> | Order Date | Date the order was placed |
> | Total Paid | Amount paid by the customer |
> | Total Price | Full order price |
> | Total Shipping | Shipping cost |
> | Total Tax | Tax amount |
> | Total Discount | Discount applied |
> | Discount Codes | Codes used |
> | Redeemed Amount | Points redeemed as currency |
> | Rewarded Points | Points earned from order |
> | Equivalent Points Value | Monetary value of rewarded points |

> [accordion] Coupon Created Event
>
> **Trigger:** Coupon created for the customer.
>
> The following coupon details will be available on MoEngage:
>
> * Coupon Code
> * Type
> * Value
> * Coupon Name

> [accordion] Coupon Used Event
>
> **Trigger:** Customer used a coupon while placing an order.
>
> The following details will be available on MoEngage:
>
> * Coupon Code, Type, Value, Coupon Name
> * Order ID, Order Quantity
> * Channel (POS, Online, etc.)

> [accordion] Reward Campaign Achieved Event
>
> **Trigger:** Customer achieved a reward campaign.
>
> The following details will be available on MoEngage:
>
> * Internal Name, Name
> * Reward (Points, Points & Score, Coupon Values)
> * Coupon Type (if the reward was a coupon)
> * Equivalent Value of Rewarded Points
> * Achievement Date

> [accordion] Points Redeemed Event
>
> **Trigger:** Customer redeemed their saved points.
>
> Each `points_redeemed` event includes:
>
> * Redeemed Points
> * Redemption Amount
> * Redemption Transaction ID (if available)

> [accordion] Purchase Line Item Event
>
> **Trigger:** Order received by Gameball.
>
> An "Item Purchased" event is sent to MoEngage for each line item with the following attributes:
>
> * Order ID, Product Title, Product Price, Vendor Name
> * Product ID, Weight, Quantity, SKU
> * Collections Array, Tags Array, Categories Array
> * Any extra attributes added to the object

> [accordion] Customer Deletion Sync
>
> **Trigger:** Customer removed from Gameball.
>
> Once a customer is deleted from Gameball, the customer gets deleted from MoEngage after **24 hours**.
>
> > [!NOTE]
> >
> > You have the option to disable the deletion feature from MoEngage.

> [accordion] Workspace Information
>
> Workspace context is included in both customer events and attributes, giving you greater flexibility in segmentation and personalization.
>
> * **`gameball_workspace`**: a string containing the workspace name or ID.
> * **Gameball Workspace**: a string attribute storing the associated workspace.

***

## How to Set Up the Integration

**1. Navigate to MoEngage in App Store**

Go to the **App Store** on Gameball's dashboard and select **MoEngage** from the list of available app integrations.

![](https://mintcdn.com/gameball/061svGa8TDKAo95o/images/product-docs/apps-integrations/apps-integrations-27.png?fit=max\&auto=format\&n=061svGa8TDKAo95o\&q=85\&s=ffdb57e6040dc55a8966feaab15dc64f)

![](https://mintcdn.com/gameball/061svGa8TDKAo95o/images/product-docs/apps-integrations/apps-integrations-28.png?fit=max\&auto=format\&n=061svGa8TDKAo95o\&q=85\&s=e8af698fac55f8557d9f84baa5682f66)

**2. Enter API Credentials**

Enter the **App ID** and **Data API Key** from MoEngage's settings page.

![](https://mintcdn.com/gameball/061svGa8TDKAo95o/images/product-docs/apps-integrations/apps-integrations-29.png?fit=max\&auto=format\&n=061svGa8TDKAo95o\&q=85\&s=089a80b385a4ce20889ea56eeaf86f12)

**3. Select Your Data Center**

Select your **Data Center**.

![](https://mintcdn.com/gameball/061svGa8TDKAo95o/images/product-docs/apps-integrations/apps-integrations-30.png?fit=max\&auto=format\&n=061svGa8TDKAo95o\&q=85\&s=5d174893beae4a9837062cfe8800dcad)

> [!NOTE]
>
> If you're unsure which data center you're on, you can find your code in your dashboard's URL.

![](https://mintcdn.com/gameball/rAvMcwJweaNUX1m4/images/product-docs/apps-integrations/apps-integrations-32.png?fit=max\&auto=format\&n=rAvMcwJweaNUX1m4\&q=85\&s=eddd522cfe5eb8d6f738a42a70400492)

**4. Complete the Setup**

Complete the setup and start leveraging the powerful combination of Gameball and MoEngage.

![](https://mintcdn.com/gameball/061svGa8TDKAo95o/images/product-docs/apps-integrations/apps-integrations-31.png?fit=max\&auto=format\&n=061svGa8TDKAo95o\&q=85\&s=fd8df995b02a63dba5de7db898f545cc)

![](https://mintcdn.com/gameball/061svGa8TDKAo95o/images/product-docs/apps-integrations/apps-integrations-26.png?fit=max\&auto=format\&n=061svGa8TDKAo95o\&q=85\&s=89e4b09eba158c75bed275178035e946)

***

## How to Use the Data on MoEngage

Once the data from Gameball is imported into MoEngage, you can leverage it to create more personalized and effective customer engagement strategies:

1. **Personalized Campaigns** - Use customer attributes such as name, email, birthday, and purchase history to create highly personalized marketing campaigns.
2. **Segmentation** - Utilize synced segments and tags to group customers based on their behavior, preferences, and activity.
3. **Event-Triggered Campaigns** - Set up automated campaigns triggered by specific events such as order placement, coupon creation, or coupon usage.
4. **Customer Journey Mapping** - Track and analyze the customer journey using imported data to identify key touchpoints.
5. **Retention Strategies** - Monitor points balance, tier progress, and achievements to identify loyal customers and those at risk of churning.

***

> [card] [Gameball on Zapier](https://docs.gameball.co/product-documentation/apps-integrations/zapier-integration.md)
>
> Connect Gameball with thousands of apps via Zapier.

> [card] [Apps & Integrations Overview](https://docs.gameball.co/product-documentation/apps-integrations/introduction-to-apps-integrations.md)
>
> Explore all available Gameball integrations.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.