Help (CDP)Integration with Segment CDP (as Source)

Integration with Segment CDP (as Source)

Last updated December 24, 2023

 Segment     is a customer data platform that helps you collect, clean, and activate your customer data. Using Mailmodo Source allows you to export the campaign activity events generated after your contacts engage with the Mailmodo campaigns to Segment for further processing and analysis

Benefits of using Mailmodo Source

  1. Enhance your team's engagement and marketing strategies by consolidating all customer data in a single location.
  2. Merge the data from Mailmodo with the existing event data integrated into Segment.
  3. Utilize Mailmodo Source to seamlessly transmit these events to your desired destinations or data repositories.
  4. Obtain a comprehensive report on your engagement and marketing endeavors, capturing the complete picture.

A step-by-step guide to setup Mailmodo Source for Segment

Step 1: Add a new Mailmodo Source to Segement

  1. From your workspace’s     Sources catalog page     click Add Source.
  2. Search for “Mailmodo” in the Sources Catalog, select click Mailmodo, and click Add Source.
  3. On the next screen, give the Source a nickname and configure any other settings.
  4. The nickname is used as a label in the Segment app, and Segment creates a related schema name in your warehouse. The nickname can be anything, but we recommend using something that reflects the source itself and distinguishes it amongst your environments (e.g. Mailmodo_Campaigns).
  5. Click Add Source to save your settings.
  6. Copy the Write key from the Segment UI. You will need to input this key on the Mailmodo integration page.

Step 2: Enter connection details on Mailmodo

  1. Look for the Segment Source option on the Mailmodo Integration page. Click on the "Click to configure" option
  2. Enter your Write Key copied from Step 1 and select a Segment Region
  3. Click on "Test and Save" to complete the setup. 
  4. If the provided write key is valid, Mailmodo will now act as a Segment source. To confirm the same, you can check the source debugger within Segment to see if the event arrived. 

Step 3: Adding destination to Mailmodo Source

Now that your Source is set up, you can connect it with Destinations.

Log in to your downstream tools and make sure that the events are populating in your Debugger and that they contain all of the properties you expect. If something isn’t working as you expect, see the Destination docs for troubleshooting.

If there are problems with how the events arrive at Segment,     contact the Mailmodo Support team    .


The following table lists events that Mailmodo sends to Segment. These events show up as tables in your Warehouse and as regular events in your other Destinations.

Email SentAn email was successfully sent.
Email OpenedContact opened an email.
Email Link ClickedContact clicked a link in an email. 
Email Form SubmittedContact submitted form or widget in an email. 
Email Marked as SpamContact marked an email as spam.
Email UnsubscribedContact unsubscribed from the email.
Email BouncedContact email was bounced.
Mailmodo will send campaign activity data only for those contacts for whom we have received identify calls previously from Segment.

Event Properties

This table lists event-specific properties Mailmodo sends to Segment:

email_idThe guid of email address identifier stored in the Mailmodo system
email_subjectThe subject line used for the email campaign
email_typeThe email type used for the template
template_idThe unique identifier for the template
template_nameThe name of the template used in the campaign
campaign_idThe unique identifier for the campaign
campaign_nameThe name of the campaign
campaign_typeThe value represents the type of campaign. Value can be - CONTACT_LIST (for the bulk campaign) or TRIGGERED (for the triggered campaign)
campaign_trigger_sourceApplicable only for triggered campaigns. This field highlights the source of the triggered campaign (e.g. Journey, Rest API, etc.) 
apple_privacy_openApplicable only for email open events. This field informs whether the contact has opened the email on the Apple Mail client. The value can be true or false. 
link_idThe unique identifier for the link in the template
link_urlThe actual URL link in the template
form_idThe unique identifier of the form or widget submitted in the email 
form_nameThe name of the form or widget submitted in the email
submission_typeThis field informs whether the submission was made via AMP or the web (aka HTML fallback)
reasonThe field provides the reason for unsubscribed or bounced. 
is_hard_bounceThe field informs if the bounce was a hard bounce. 

Sending Data To Mailmodo

The Mailmodo Source works only when you also connect Mailmodo as a Destination. With the Mailmodo Destination, you can use Segment to send identify and track calls to Mailmodo so you can target customers with interactive emails. 

Want to start sending data to Mailmodo? Learn how by reading the     Mailmodo Destination docs    .

Was this article helpful?