Segment CDP

SkillDatabases & data

segment-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.

Ensure you have access to a Segment workspace and the necessary source write keys.

Segment CDPStart free

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

  1. Ensure you have access to a Segment workspace and the necessary source write keys.
  2. Add the segment-cdp skill to your AI agent's configuration.
  3. Provide the agent with details about your tracking requirements and existing Segment setup.
  4. 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

IssueSeveritySolution
IssuemediumSee docs
IssuehighSee docs
IssuemediumSee docs
IssuehighSee docs
IssuelowSee docs
IssuemediumSee docs
IssuemediumSee docs
IssuehighSee 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