Integration with Segment CDP
Modified on: Fri, 15 Jul, 2022 at 9:19 AM
Segment removes the need to build a connection to the Mailmodo API yourself. Anytime you identify a person on your site, they’ll be added to a Mailmodo contact database or, if they’re already on it, their traits will be updated based on your Segment traits. Similarly, when a user performs any activity on your site, you can use Segment Track calls to push those activities to Mailmodo. You won’t need to do any additional development to configure any of these features.
Once the identify and track data is synced to Mailmodo, you can segment the user and send them personalized campaigns at scale.
Segment integration is available for all the users with the Gold and Platinum plans and the below limits are applicable for sending events.
|Plan||Events limit per month||Data availability|
|Free||Feature not available||Feature not available|
|Silver||Feature not available||Feature not available|
|Gold||1 million||6 months|
|Platinum||2 million||12 months|
From the Destinations Catalog page in the Segment App, click Add Destination.
Search for “Mailmodo” in the Destinations Catalog, and select the Mailmodo destination.
Choose which Source should send data to the Mailmodo destination.
Go to the Mailmodo Platform, navigate to Settings > API Keys, then create a new API and copy the same.
Enter your copied API Key in the Mailmodo destination settings in Segment.
Mailmodo supports the following methods, as specified in the Segment Spec.
If you aren’t familiar with the Segment Spec, take a look at the Identify method documentation to learn about what it does. An example call would look like:
Every time you call identify with an email address included, we will:
First ask Mailmodo if that email exists.
If the email doesn’t exist, then we will add the user as a Contact to the Mailmodo database and match user properties with the Segment traits sent in identify call payload.
If the email exists, then we will update the user properties for the Contact against the Segment traits sent in identify call payload.
All the special traits recognized by Segment will be translated and matched with the Mailmodo accepted user properties for a Contact. These fields will be automatically created in Mailmodo and will be available for personalization and advance segmentation.
Please note the following things:
The email field is required. Identify calls without an email is dropped.
If different email addresses are sent against same user id in identify call, then they are treated as two different contacts in Mailmodo.
If you aren’t familiar with the Segment Spec, take a look at the Track method documentation to learn about what it does. An example call would look like:
Segment sends Track calls to Mailmodo as a Custom Event. When you call track, we’ll send the event to Mailmodo with the event name and all properties that you specified.
Be sure you send an Identify call for any user who will trigger Track calls. If Mailmodo receives a Track call for an unknown userId, the call is dropped.
Segment lets you change these destination settings from the Segment app without having to touch any code.
string. Please include the API key from Mailmodo
How will the traits of a user in Segment be integrated into Mailmodo?
Any new property receive will have the same name as Segment, and it's data type will be inferred from the value of the property
Did you find it helpful?
Sorry we couldn't be helpful. Help us improve this article with your feedback.