# segment-cdp > Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance bes - Author: github-actions[bot] - Repository: ranbot-ai/awesome-skills - Version: 20260207065816 - Stars: 1 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/ranbot-ai/awesome-skills - Web: https://mule.run/skillshub/@@ranbot-ai/awesome-skills~segment-cdp:20260207065816 --- --- name: segment-cdp description: Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance bes category: AI & Agents source: antigravity tags: [node, design] url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/segment-cdp --- # Segment CDP ## Patterns ### Analytics.js Browser Integration Client-side tracking with Analytics.js. Include track, identify, page, and group calls. Anonymous ID persists until identify merges with user. ### Server-Side Tracking with Node.js High-performance server-side tracking using @segment/analytics-node. Non-blocking with internal batching. Essential for backend events, webhooks, and sensitive data. ### Tracking Plan Design Design event schemas using Object + Action naming convention. Define required properties, types, and validation rules. Connect to Protocols for enforcement. ## Anti-Patterns ### ❌ Dynamic Event Names ### ❌ Tracking Properties as Events ### ❌ Missing Identify Before Track ## ⚠️ Sharp Edges | Issue | Severity | Solution | |-------|----------|----------| | Issue | medium | See docs | | Issue | high | See docs | | Issue | medium | See docs | | Issue | high | See docs | | Issue | low | See docs | | Issue | medium | See docs | | Issue | medium | See docs | | Issue | high | See docs |