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 best practices. Use when: segment, analytics.js, customer data platform, cdp, tracking plan.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "segment-cdp" with this command: npx skills add xfstudio/skills/xfstudio-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

IssueSeveritySolution
IssuemediumSee docs
IssuehighSee docs
IssuemediumSee docs
IssuehighSee docs
IssuelowSee docs
IssuemediumSee docs
IssuemediumSee docs
IssuehighSee docs

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

last30days

No summary provided by upstream source.

Repository SourceNeeds Review
General

baoyu-post-to-wechat

No summary provided by upstream source.

Repository SourceNeeds Review
General

3d-web-experience

No summary provided by upstream source.

Repository SourceNeeds Review