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
- Log into your RudderStack dashboard
- Click Add Source
- Select Event Streams → HTTP
- Configure your source settings
- 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 Settings → Data Plane URL.
3. Configure in MockCDP
- Navigate to Destinations in MockCDP
- Find RudderStack in the list
- Toggle Enable to on
- Enter your Write Key
- Enter your Data Plane URL
- Click Test Credentials to verify connection
- Click Save Configuration
Event Mapping
MockCDP sends RudderStack-spec compliant events:
Event Type | RudderStack Call | Key Properties |
---|---|---|
Page View | page() | name, category, url, referrer |
User Identification | identify() | userId, traits (email, name, etc.) |
Product Viewed | track("Product Viewed") | product_id, name, price, category |
Product Added | track("Product Added") | product_id, name, price, quantity |
Order Completed | track("Order Completed") | order_id, total, revenue, products |
Data Warehouse Integration
Supported Warehouses
RudderStack can route MockCDP events to these data warehouses:
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:
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
- Development Environment: Use separate RudderStack workspaces for testing
- Event Volume: Start with lower volumes to test pipeline capacity
- Schema Design: Plan your warehouse schema before high-volume testing
- Transformations: Test custom transformations with diverse event types
- Monitoring: Set up alerts for data pipeline health and delivery success
Need Help?
Check our troubleshooting guide or contact support.