RudderStack Integration

Send your simulated events to RudderStack for customer data infrastructure and warehouse-first analytics.

Overview

RudderStack is a customer data platform that provides warehouse-first customer data infrastructure. It collects events from web, mobile, and server environments and routes them to your data warehouse and other downstream tools. MockCDP integrates with RudderStack's HTTP API to send realistic e-commerce events for testing your data pipeline.

Required Credentials

  • Write Key: Your RudderStack source write key
  • Data Plane URL: Your RudderStack data plane endpoint

Setup Instructions

1. Create a Source in RudderStack

  1. Log into your RudderStack dashboard
  2. Click Add Source
  3. Select Event StreamsHTTP
  4. Configure your source settings
  5. Copy the generated Write Key

2. Get Your Data Plane URL

Your data plane URL depends on your setup:

  • RudderStack Cloud: https://your-subdomain.dataplane.rudderstack.com
  • Self-hosted: Your custom data plane URL
  • Free Tier: https://hosted.rudderlabs.com

You can find your data plane URL in the RudderStack dashboard under SettingsData Plane URL.

3. Configure in MockCDP

  1. Navigate to Destinations in MockCDP
  2. Find RudderStack in the list
  3. Toggle Enable to on
  4. Enter your Write Key
  5. Enter your Data Plane URL
  6. Click Test Credentials to verify connection
  7. Click Save Configuration

Event Mapping

MockCDP sends RudderStack-spec compliant events:

Event TypeRudderStack CallKey Properties
Page Viewpage()name, category, url, referrer
User Identificationidentify()userId, traits (email, name, etc.)
Product Viewedtrack("Product Viewed")product_id, name, price, category
Product Addedtrack("Product Added")product_id, name, price, quantity
Order Completedtrack("Order Completed")order_id, total, revenue, products

Data Warehouse Integration

Supported Warehouses

RudderStack can route MockCDP events to these data warehouses:

• Snowflake
• BigQuery
• Redshift
• Databricks
• PostgreSQL
• ClickHouse

Schema Structure

MockCDP events follow RudderStack's standard warehouse schema:

  • identifies: User identification and trait updates
  • pages: Page view events with context
  • tracks: All tracked events with properties
  • users: Merged user profiles with latest traits

Destinations and Integrations

Popular Destinations

Test data flow to 200+ destinations including:

• Google Analytics
• Amplitude
• Mixpanel
• Facebook Pixel
• Salesforce
• HubSpot

Testing Strategy

  • Use RudderStack's Live Events to monitor real-time data flow
  • Test transformations and filtering rules with realistic data
  • Validate schema evolution in your data warehouse
  • Test destination-specific mappings and configurations

Privacy and Compliance

Data Governance

  • PII Detection: Test automatic PII identification and handling
  • Data Retention: Validate retention policies and data lifecycle
  • Consent Management: Test consent propagation to destinations
  • Data Subject Rights: Validate deletion and access requests

Security Features

  • End-to-end encryption in transit and at rest
  • VPC and private cloud deployment options
  • SOC 2 Type II and GDPR compliance
  • Data residency controls for regional requirements

Best Practices

  1. Development Environment: Use separate RudderStack workspaces for testing
  2. Event Volume: Start with lower volumes to test pipeline capacity
  3. Schema Design: Plan your warehouse schema before high-volume testing
  4. Transformations: Test custom transformations with diverse event types
  5. Monitoring: Set up alerts for data pipeline health and delivery success

Need Help?

Check our troubleshooting guide or contact support.