Introduction
Treasure Data is a customer data platform (CDP) that collects and routes information from multiple sources to a variety of other locations in your marketing stack.
MoEngage <> Treasure Data
MoEngage and Treasure Data bi-directional integration allows you to write job results from Treasure Data directly to MoEngage. You can
- Forward user actions and events from Treasure Data to MoEngage
- Create or update users in MoEngage
- Send MoEngage campaign interaction data back to Treasure Data
Integration
library_add_check |
Prerequisites
|
Use cases
- You can synchronize your consolidated customer profiles from Treasure Data into MoEngage to build-out target segments. Treasure Data supports first-party cookie data, Mobile IDs, third-party systems like your CRM, and many more.
- You can also send back MoEngage campaign interaction data back to Treasure Data
Please note that the integration is not available directly. Please reach out to your Customer Success Managers to get it enabled!
Step 1: Configure MoEngage connection on Treasure Data
- On your Treasure Data dashboard, navigate to Catalog.
- Search for HTTP and click on Create Authentication and enter the MoEngage endpoints.
Set up MoEngage user destination
- Enter MoEngage user API endpoints
- Select HTTPs and enter the following details
- Host details- https://api-0X.moengage.com/v1/customer/<workspace_id>
- Basic Auth: <workspace_id>
- Password: <data API key>
Note- Here, replaceX
with the number of your data center. Read more about MoEngage data centers. Replace<workspace_id>
and <data API key> with workspace id and data key of your MoEngage workspace. Access it from Settings -> App Settings
- Click Continue and save it as moengage_user_sync
- Enter MoEngage user API endpoints
Set up MoEngage event destination
-
- Enter MoEngage event API endpoints
- Select HTTPs and enter the following details
- Host details- https://api-0X.moengage.com/v1/event/<workspace_id>
- Basic Auth: <workspace_id>
- Password: <data API key>
Note- Here, replaceX
with the number of your data center. Read more about MoEngage data centers. Replace<workspace_id>
and <data API key> with workspace id and data key of your MoEngage workspace. Access it from Settings -> App Settings
- Click Continue and save it as moengage_event_sync.
Step 2: Define your query
On your Treasure Data dashboard,
- Navigate to Data Workbench >> Queries and select a query for which you would like to export data.
- Run this query to validate the result set.
Note: For users using HIVE to build queries, HIVE requires that any columns or tables that begin with an underscore be wrapped by backquotes. For example, _merge_objects. - Select Export Results and select an existing integration authentication.
- Click Done
Read more on pre-formatted fields, example queries, parameter details, and query export job scheduling on Treasure Data here.
Step 3: Validate data on MoEngage
You can search for the new users and you will see users and events getting created.
Send campaign interaction data back to Treasure Data
Treasure Data users can ingest data through the public REST API. You can use MoEngage connector campaigns to send data through these Rest APIs. Read more on MoEngage connector campaigns here.