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
- Enhance your team's engagement and marketing strategies by consolidating all customer data in a single location.
- Merge the data from Mailmodo with the existing event data integrated into Segment.
- Utilize Mailmodo Source to seamlessly transmit these events to your desired destinations or data repositories.
- 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
- From your workspace’s Sources catalog page click Add Source.
- Search for “Mailmodo” in the Sources Catalog, select click Mailmodo, and click Add Source.
- On the next screen, give the Source a nickname and configure any other settings.
- 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).
- Click Add Source to save your settings.
- 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
- Look for the Segment Source option on the Mailmodo Integration page. Click on the "Click to configure" option
- Enter your Write Key copied from Step 1 and select a Segment Region
- Click on "Test and Save" to complete the setup.
- 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 .
Events
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.
EVENT NAME | DESCRIPTION |
Email Sent | An email was successfully sent. |
Email Opened | Contact opened an email. |
Email Link Clicked | Contact clicked a link in an email. |
Email Form Submitted | Contact submitted form or widget in an email. |
Email Marked as Spam | Contact marked an email as spam. |
Email Unsubscribed | Contact unsubscribed from the email. |
Email Bounced | Contact 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:
PROPERTY NAME | DESCRIPTION |
email_id | The guid of email address identifier stored in the Mailmodo system |
email_subject | The subject line used for the email campaign |
email_type | The email type used for the template |
template_id | The unique identifier for the template |
template_name | The name of the template used in the campaign |
campaign_id | The unique identifier for the campaign |
campaign_name | The name of the campaign |
campaign_type | The value represents the type of campaign. Value can be - CONTACT_LIST (for the bulk campaign) or TRIGGERED (for the triggered campaign) |
campaign_trigger_source | Applicable only for triggered campaigns. This field highlights the source of the triggered campaign (e.g. Journey, Rest API, etc.) |
apple_privacy_open | Applicable 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_id | The unique identifier for the link in the template |
link_url | The actual URL link in the template |
form_id | The unique identifier of the form or widget submitted in the email |
form_name | The name of the form or widget submitted in the email |
submission_type | This field informs whether the submission was made via AMP or the web (aka HTML fallback) |
reason | The field provides the reason for unsubscribed or bounced. |
is_hard_bounce | The 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 .