Search documentation...

K
ChangelogBook a demoSign up

mParticle

Sync customer attributes and events from your data warehouse to hundreds on integrations through mParticle

Overview

Through mParticle's diverse integration library, Hightouch users can sync enriched customer profiles and events to hundreds of partner integrations. Use your data warehouse as the source of truth and keep your team's tools up to date with the latest data using Hightouch and mParticle.

Supported syncing

Sync TypeDescriptionSupported Sync Modes
UsersSync data from any source as user attributesUpsert
EventsSync data from any source as commerce events and custom eventsInsert

Getting started

To give Hightouch access to mParticle, you need to enter:

  • API key
  • API secret

Follow the instructions in the following sections to retrieve your API key and API secret.

Retrieve API key and API secret

  1. Navigate to Inputs in your mParticle account.

Click on the "+" button on the Hightouch tab

  1. Add a feed under the Hightouch tab by clicking the + button.

Configure your feed

  1. Give your configuration a name and select Web under Act as Platform.

Copy your generated keys

  1. Copy your generated keys. Your Server to Server Key is your API key and your Server to Server Secret is your API secret.

Syncing data

Users

Sync data from any source as user attributes without an event to mParticle.

Record matching

You can match rows in your model with users in mParticle with the provided identifiers. Hightouch uses the identifier you select in this section and as the external Id for this sync.

Additional identifiers

In addition to the column selected for record matching, you can choose to provide more user identifiers in this section. There is no limit to the number of columns you can select here.

Field mapping

You can sync columns from your source to mParticle as user attributes. If the customer attribute doesn't exist, Hightouch creates it.

Custom field mapping

You can sync columns from your source to mParticle as custom user attributes. If the customer attribute doesn't exist, Hightouch creates it.

Environment

In this section, select the environment you would like to sync your data to. The available choices are:

EnvironmentDescription
ProductionAll data synced is treated as production data and is forwarded to integrations for your application
DevelopmentAll data synced is treated as development data and is siloed from your production data

mParticle recommends using Development mode first to ensure the data meets your expectations before moving to Production.

Delete behavior

You have the following options for how Hightouch should handle rows leaving your query results:

BehaviorDescription
Do nothingKeep the customer in mParticle
Clear FieldsClear the mapped fields but keep the customer record

Events

You can sync the following event types:

  • Custom Event
  • Commerce Event

Events and historical events

Given a valid Date, DateTime, or timestamp column as a timestamp for events, Hightouch separates events based on the age of the data.

  • Hightouch sends events that are older than 28 days to the /v2/bulkevents/historical endpoint.
  • Hightouch sends events that are newer than 28 days to the /v2/bulkevents endpoint.

If you choose not to provide a timestamp for your events, Hightouch uses the time the event arrives at the server. That means all events are treated as newer than 28 days.

To ensure syncs send each event, your event model must use a truly unique primary key. See the events syncs documentation for more information.

Custom event

Sync data from any source as a custom event.

Event name

Provide an event name. This is how you can reference the event in mParticle campaigns or segments.

Event timestamp

Provide a timestamp of when the event occurred. If this field is empty, Hightouch uses the time the event arrives at the server.

Any DateTime value provided from your source is converted to Unix timestamp as expected by mParticle.

Custom event type

Select the type of custom event you would like to sync out of the provided selections.

User identifiers

In this section, you can provide user identifiers for each event that occurred.

Event attributes field mapping

You can sync columns from your source to mParticle as event attributes. If the event attribute doesn't exist, Hightouch creates it.

Event attributes custom field mapping

You can sync columns from your source to mParticle as custom event attributes. If the custom event attribute doesn't exist, Hightouch creates it.

User attributes field mapping

You can sync columns from your source to mParticle as user attributes. If the customer attribute doesn't exist, Hightouch creates it.

User attributes custom field mapping

You can sync columns from your source to mParticle as custom user attributes. If the customer attribute doesn't exist, Hightouch creates it.

Environment

In this section, select the environment you would like to sync your data to. The available choices are:

EnvironmentDescription
ProductionAll data synced is treated as production data and is forwarded to integrations for your application
DevelopmentAll data synced is treated as development data and is siloed from your production data

mParticle recommends using Development mode first to ensure the data meets your expectations before moving to Production.

Commerce event

Sync data from any source as a commerce event.

Event timestamp

Provide a timestamp of when the event occurred. If this field is empty, Hightouch uses the time the event arrives at the server.

Any DateTime value provided from your source is converted to Unix timestamp as expected by mParticle.

User identifiers

In this section, you can provide user identifiers for each event that occurred.

Event attributes field mapping

You can sync columns from your source to mParticle as event attributes. If the event attribute doesn't exist, Hightouch creates it.

Event attributes custom field mapping

You can sync columns from your source to mParticle as custom event attributes. If the custom event attribute doesn't exist, Hightouch creates it.

User attributes field mapping

You can sync columns from your source to mParticle as user attributes. If the customer attribute doesn't exist, Hightouch creates it.

User attributes custom field mapping

You can sync columns from your source to mParticle as custom user attributes. If the customer attribute doesn't exist, Hightouch creates it.

Environment

In this section, select the environment you would like to sync your data to. The available choices are:

EnvironmentDescription
ProductionAll data synced is treated as production data and is forwarded to integrations for your application
DevelopmentAll data synced is treated as development data and is siloed from your production data

mParticle recommends using Development mode first to ensure the data meets your expectations before moving to Production.

Tips and troubleshooting

Common errors

To date, our customers haven't experienced any errors while using this destination. If you run into any issues, please don't hesitate to . We're here to help.

Live debugger

Hightouch provides complete visibility into the API calls made during each of your sync runs. We recommend reading our article on debugging tips and tricks to learn more.

Sync alerts

Hightouch can alert you of sync issues via Slack, PagerDuty, SMS, or email. For details, please visit our article on alerting.

Ready to get started?

Jump right in or a book a demo. Your first destination is always free.

Book a demoSign upBook a demo

Need help?

Our team is relentlessly focused on your success. Don't hesitate to reach out!

Feature requests?

We'd love to hear your suggestions for integrations and other features.

Last updated: Jan 19, 2023

On this page

OverviewSupported syncingGetting startedRetrieve API key and API secretSyncing dataUsersEventsCustom eventCommerce eventTips and troubleshootingCommon errorsLive debuggerSync alerts

Was this page helpful?