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.
When to Use
- User mentions or implies: segment
- User mentions or implies: analytics.js
- User mentions or implies: customer data platform
- User mentions or implies: cdp
- User mentions or implies: tracking plan
- User mentions or implies: event tracking
- User mentions or implies: identify track page
- User mentions or implies: data routing
Core Workflow
- Confirm the request matches this skill's trigger, scope, and risk profile.
- Use the topic map to identify the relevant pattern, checklist, or example before writing detailed guidance or code.
- Load
references/full-guidance.md when implementation details, examples, anti-patterns, validation checks, or edge cases are needed.
- Apply only the relevant guidance instead of loading or repeating the entire reference by default.
- Verify the result against any validation checks, limitations, security notes, or platform constraints in the reference.
Topic Map
- Patterns
- Analytics.js Browser Integration
- Context
- Server-Side Tracking with Node.js
- Tracking Plan Design
- Identity Resolution
- Destinations Configuration
- HTTP Tracking API
- Sharp Edges
- Anonymous ID Persists Until Explicit Reset
- Device Mode Bypasses Protocols Blocking
- HTTP API Has Strict Size Limits
- Track Calls Without Identify Are Anonymous
- Write Key in Client is Visible (But Intentional)
- Events May Be Lost on Page Navigation
- Timestamps Without Timezone Cause Analytics Issues
- Tracking Before Consent Violates GDPR
- Validation Checks
Reference Map
references/full-guidance.md preserves the complete original guidance, including examples and detailed edge cases.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Progressive Loading
Keep this SKILL.md as the compact routing and workflow entrypoint. Load the reference file only when the user task requires the deeper implementation material.
1---2name: segment-cdp3description: Expert patterns for Segment Customer Data Platform including4license: MIT5---67# Segment CDP89Expert 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.1011## When to Use12- User mentions or implies: segment13- User mentions or implies: analytics.js14- User mentions or implies: customer data platform15- User mentions or implies: cdp16- User mentions or implies: tracking plan17- User mentions or implies: event tracking18- User mentions or implies: identify track page19- User mentions or implies: data routing2021## Core Workflow221. Confirm the request matches this skill's trigger, scope, and risk profile.232. Use the topic map to identify the relevant pattern, checklist, or example before writing detailed guidance or code.243. Load `references/full-guidance.md` when implementation details, examples, anti-patterns, validation checks, or edge cases are needed.254. Apply only the relevant guidance instead of loading or repeating the entire reference by default.265. Verify the result against any validation checks, limitations, security notes, or platform constraints in the reference.2728## Topic Map29- Patterns30- Analytics.js Browser Integration31- Context32- Server-Side Tracking with Node.js33- Tracking Plan Design34- Identity Resolution35- Destinations Configuration36- HTTP Tracking API37- Sharp Edges38- Anonymous ID Persists Until Explicit Reset39- Device Mode Bypasses Protocols Blocking40- HTTP API Has Strict Size Limits41- Track Calls Without Identify Are Anonymous42- Write Key in Client is Visible (But Intentional)43- Events May Be Lost on Page Navigation44- Timestamps Without Timezone Cause Analytics Issues45- Tracking Before Consent Violates GDPR46- Validation Checks4748## Reference Map49- `references/full-guidance.md` preserves the complete original guidance, including examples and detailed edge cases.5051## Limitations52- Use this skill only when the task clearly matches the scope described above.53- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.54- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.5556## Progressive Loading57Keep this `SKILL.md` as the compact routing and workflow entrypoint. Load the reference file only when the user task requires the deeper implementation material.