New: The Agentic CDP

·Open the tracker

Directory › CDP switch kit

Moving from Segment to RudderStack

Which of your destinations RudderStack lists, every API call translated field by field, the tracking code to rewrite and an hour range, in one plan you can download.

1.Your destinations

Add the tools you send data to or read from today. Each shows how Segment and RudderStack list it.

Your destinations (0 of up to 10)

  • No tools yet. Search below, or add one of the suggestions.

Tools Segment lists most often

Across the whole catalogs: of the 253 tools Segment lists, RudderStack lists 154. Compare the two catalogs tool by tool

2.The API calls, translated

The request for each of five everyday jobs at Segment and at RudderStack, from each vendor's own reference pages, with where each part of the same example goes. Every recipe uses the same example: customer u_1001, ada@example.com, Ada Lovelace on the pro plan, order ord_5001 for 49.90 USD at 2026-11-01T12:00:00Z, and a second customer u_1002 for the batch.

Call
Segment:POST /v1/track
RudderStack:POST /v1/track
Host
Segment:api.segment.io
RudderStack:<DATA_PLANE_URL>
User ID
Segment:userId
RudderStack:userId
Email
Segment:not in this call
RudderStack:context.traits.email
Event name
Segment:event
RudderStack:event
Time
Segment:timestamp (ISO 8601)
RudderStack:timestamp (ISO 8601)
Order ID
Segment:properties.order_id
RudderStack:properties.order_id
Total
Segment:properties.total
RudderStack:properties.total
Currency
Segment:properties.currency
RudderStack:properties.currency

Create or update a profile

Both requests in full
Call
Segment:POST /v1/identify
RudderStack:POST /v1/identify
Host
Segment:api.segment.io
RudderStack:<DATA_PLANE_URL>
User ID
Segment:userId
RudderStack:userId
Email
Segment:traits.email
RudderStack:context.traits.email
First name
Segment:traits.firstName
RudderStack:context.traits.firstName
Last name
Segment:traits.lastName
RudderStack:context.traits.lastName
Custom attribute (plan)
Segment:traits.plan
RudderStack:context.traits.plan
Call
Segment:POST /v1/batch
RudderStack:POST /v1/batch
Host
Segment:api.segment.io
RudderStack:<DATA_PLANE_URL>
The list of events
Segment:batch[]
RudderStack:batch[]
User ID
Segment:batch[].userId
RudderStack:batch[].userId
Event name
Segment:batch[].event
RudderStack:batch[].event
Product ID
Segment:batch[].properties.product_id
RudderStack:batch[].properties.product_id
Time
Segment:batch[].timestamp
RudderStack:batch[].timestamp

Look up a profile

Both requests in full
Call
Segment:GET /v1/spaces/<SPACE_ID>/collections/users/profiles/user_id:u_1001/traits
RudderStack:POST /v2/activation
Host
Segment:profiles.segment.com
RudderStack:profiles.rudderstack.com
How the person is found
Segment:path …/profiles/user_id:u_1001/traits
RudderStack:id.type and id.value

Delete a person

Both requests in full
Call
Segment:POST /regulations
RudderStack:POST /v2/regulations
Host
Segment:api.segmentapis.com
RudderStack:api.rudderstack.com
How the person is named
Segment:subjectIds[] (subjectType USER_ID)
RudderStack:users[].userId (and email)

3.The tracking code to rewrite

The browser calls that identify a person, track an event and record a page view, at Segment and at RudderStack.

Identify a person

Segment · Analytics.js

analytics.identify('u_1001', {
  email: 'ada@example.com',
  name: 'Ada Lovelace',
  plan: 'pro',
});

RudderStack · JavaScript SDK

rudderanalytics.identify('u_1001', {
  email: 'ada@example.com',
  name: 'Ada Lovelace',
  plan: 'pro',
});

Track an event

Segment · Analytics.js

analytics.track('Order Completed', {
  order_id: 'ord_5001',
  total: 49.9,
  currency: 'USD',
});

RudderStack · JavaScript SDK

rudderanalytics.track('Order Completed', {
  order_id: 'ord_5001',
  total: 49.9,
  currency: 'USD',
});

Record a page view

Segment · Analytics.js

analytics.page();

RudderStack · JavaScript SDK

rudderanalytics.page();

Find the calls to replace: search your code for analytics.identify, analytics.track and analytics.page.

Segment: Call page() at least once on every page load.

Written with the cookbook’s example and checked against Segment’s docs and RudderStack’s docs on November 14, 2026. Event names, tables and schemas are yours to keep.

4.Hours

An hour range for the switch, from the same rules as the stack check’s statement of work draft.

Add your destinations above for an hour range.

5.Get the plan

Everything above in one Word file, to share with your team or edit.

One email with a link to this plan. Your address is kept only if you tick the box. Privacy policy

CdpHub is independent and takes no referral fees or vendor commissions. The API calls come from each vendor’s reference pages (read November 13 and 14, 2026); check them against the current docs before you build. See Segment and RudderStack in the directory, or check your stack against every CDP.

We use cookies to improve the site. By continuing, you agree to our use of them. Cookie policy

C
CdpHub × LiveAvatar
Early Access: CdpHub's AI guide draws from our integration directory but may occasionally provide incomplete or inaccurate information. We're actively improving it — your patience and feedback are appreciated. When you use the mic, your voice is transcribed so Ed can answer.
Ed, CdpHub's AI guide

CdpHub · Powered by Claude + LiveAvatar

Ask Ed