Customer.io Integration

Send your simulated events to Customer.io for automated email marketing and customer engagement campaigns.

Overview

Customer.io is a marketing automation platform that helps you send targeted emails, push notifications, and SMS messages based on customer behavior. MockCDP integrates with Customer.io's Track API to send realistic customer journey events for testing your automation workflows.

Required Credentials

  • Site ID: Your Customer.io workspace site identifier
  • API Key: Your Customer.io tracking API key
  • Region: US or EU data center selection

Setup Instructions

1. Get Your Site ID and API Key

  1. Log into Customer.io
  2. Navigate to Data & Integrations
  3. Click Integrations
  4. Find Customer.io Data Pipelines or create a new tracking integration
  5. Copy your Site ID and API Key

2. Choose Your Region

  • US: Default region for North American customers
  • EU: European region for GDPR compliance

Your region is typically set when you create your Customer.io account.

3. Configure in MockCDP

  1. Navigate to Destinations in MockCDP
  2. Find Customer.io in the list
  3. Toggle Enable to on
  4. Enter your Site ID
  5. Enter your API Key
  6. Select your Region (US or EU)
  7. Click Test Credentials to verify connection
  8. Click Save Configuration

Event Mapping

MockCDP sends these events to trigger Customer.io campaigns:

Customer Events

EventTrigger Use CaseKey Attributes
signed_upWelcome email seriesemail, name, signup_date
product_viewedProduct recommendation emailsproduct_name, category, price
cart_abandonedAbandoned cart recoverycart_value, items, last_activity
order_completedOrder confirmation & upsellsorder_total, products, customer_tier
subscription_cancelledWin-back campaignscancellation_reason, tenure

Customer Attributes

MockCDP automatically updates customer profiles with:

  • Demographics: age, location, signup_date
  • Behavioral: last_purchase_date, total_spent, order_count
  • Preferences: favorite_category, communication_preferences
  • Engagement: email_engagement_score, last_seen

Campaign Testing

Automation Workflows

Use MockCDP events to test these common workflows:

  • Welcome Series: Triggered by user sign-up events
  • Abandoned Cart: Based on cart activity without purchase
  • Re-engagement: Targeting inactive customers
  • Cross-sell/Upsell: Post-purchase recommendations
  • Milestone Celebrations: Anniversary and achievement emails

A/B Testing

  • Generate realistic user segments for campaign testing
  • Validate email personalization with diverse customer data
  • Test campaign timing and frequency optimization

Best Practices

  1. Use Test Workspace: Create a separate Customer.io workspace for testing
  2. Email Addresses: Use test email addresses to avoid sending to real customers
  3. Campaign Monitoring: Monitor campaign triggers and delivery rates
  4. Segmentation Testing: Validate customer segments with realistic data
  5. Unsubscribe Management: Test unsubscribe flows and preferences

Need Help?

Check our troubleshooting guide or contact support.