Segment CDP
SkillDatabases & datasegment-cdp is a skill that provides expert patterns for Segment Customer Data Platform. It helps with Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance best practices. Use it when working with Segment, analytics.js, customer data platform, cdp, or tracking plan tasks.
Use Segment CDP in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Segment CDP and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Segment CDP skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Ensure you have access to a Segment workspace and the necessary source write keys.
What your AI can do with it
- Guide Analytics.js implementation for web tracking
- Set up server-side tracking with Segment
- Create and manage tracking plans using Protocols
- Configure identity resolution across sources
- Apply data governance best practices
Getting started
- Ensure you have access to a Segment workspace and the necessary source write keys.
- Add the segment-cdp skill to your AI agent's configuration.
- Provide the agent with details about your tracking requirements and existing Segment setup.
- Ask the agent to generate or review tracking code, plans, or configurations based on the skill's patterns.
What this skill tells your AI
The instructions your AI receives, as published by davila7/claude-code-templates in cli-tool/components/skills/web-development/segment-cdp/SKILL.md and read by ahel’s review.
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 |
Signals
- GitHub stars
- 32k
- Forks
- 4k
- Last commit
- Oct 2026
Questions
- What is segment-cdp?
- segment-cdp is a skill that gives your AI agent expert guidance for setting up tracking and managing customer data in Segment.
- What can I do with segment-cdp?
- You can get help with Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance best practices.
- When should I use segment-cdp?
- Use it when working with Segment, analytics.js, customer data platform, cdp, or tracking plan tasks.
- Does segment-cdp require a Segment account?
- Yes, you need access to a Segment workspace to apply the guidance.
- Can segment-cdp help with server-side tracking?
- Yes, it provides patterns for server-side tracking.
Advanced
- Item type
- skill
- Key
segment-cdp- Source
- github.com/davila7/claude-code-templates
github.com/davila7/claude-code-templates
More in Databases & data
Skill · supabase
More in Databases & dataconnect
Skill · composiohq
More in Databases & dataanalytics
Skill · coreyhaines31
More in Databases & dataazure-kusto
Skill · microsoft
More in Databases & dataagentic-os
Skill · affaan-m
More in Databases & dataai-regression-testing
Skill · affaan-m
More in Databases & data