segment-cdp▌
davila7/claude-code-templates · updated Apr 8, 2026
Client-side tracking with Analytics.js. Include track, identify, page,
- ›and group calls. Anonymous ID persists until identify merges with user.
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 |
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★25 reviews- ★★★★★Ganesh Mohane· Dec 8, 2024
segment-cdp is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Piyush G· Sep 25, 2024
Useful defaults in segment-cdp — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Alexander Khanna· Sep 21, 2024
We added segment-cdp from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Xiao Yang· Sep 5, 2024
segment-cdp reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Kiara Choi· Aug 24, 2024
I recommend segment-cdp for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Shikha Mishra· Aug 16, 2024
segment-cdp has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Amelia Patel· Aug 12, 2024
Solid pick for teams standardizing on skills: segment-cdp is focused, and the summary matches what you get after install.
- ★★★★★Xiao Liu· Jul 23, 2024
segment-cdp is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Xiao Taylor· Jul 15, 2024
Keeps context tight: segment-cdp is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Yash Thakker· Jul 7, 2024
Solid pick for teams standardizing on skills: segment-cdp is focused, and the summary matches what you get after install.
showing 1-10 of 25