If you're looking for a platform that can handle both your Analytics and CDP needs, Amplitude can.
This document covers the necessary steps to:
Review the offerings that are available for Segment and how that stacks up to Amplitude.
Segment | Amplitude |
---|---|
Connections | Sources & Destinations |
Profiles | Audiences |
Protocols | Data Management |
Follow a strict release process and configure multiple environments. Validate changes within each environment before deploying.
To add a new source:
For detailed instructions, see the documentation for the source you want to add.
Both Segment and Amplitude SDKs capture first party data by tracking user interactions. Other than some nuances around syntax, they work similarly. Here is high level mapping of concepts between Segment & Amplitude.
Segment | Amplitude | Notes |
---|---|---|
write_key | api_key | Unique key to validate source of the data. |
Workspace | Project | Projects allow you to organize your data. |
User | User | User who is performing action. |
Identify | Identify | Identify updates properties/attributes of the user. |
Track | Event | Event in Amplitude tracks the action user is performing. |
Screen | Event | Create an Event to track Screen views. |
Page | Event | Create an Event to track Page views. |
Group | Group | Group is a collection of users. In Amplitude one user could belong to multiple groups. Each group can have properties/attributes that are then available to query/forward on actions performed by any user in the group. |
Plugins | Plugins | Plugins let you extend Amplitude by running a sequence of custom code on every event. |
1analytics.identify('12091906-01011992', {2 name: 'Grace Hopper',3 email: 'grace@usnavy.gov'4});
1setUserId('12091906-01011992');2identify(3 Identify()4 .set('name', 'Grace Hopper')5 .set('email', 'grace@usnavy.gov')6);
1analytics.track('Article Completed', {2 title: 'How to Create a Tracking Plan',3 course: 'Intro to Analytics',4});
1track('Article Completed', {2 title: 'How to Create a Tracking Plan',3 course: 'Intro to Analytics',4});
1analytics.group('UNIVAC Working Group', {2 principles: ['Eckert', 'Mauchly'],3 site: 'Eckert–Mauchly Computer Corporation',4 statedGoals: 'Develop the first commercial computer',5 industry: 'Technology'6});
Assign user to a group:
1amplitude.setGroup('Working Group', 'UNIVAC')
Update properties of a group:
1groupIdentify(2 'Working Group',3 'UNIVAC' ,4 new Identify()5 .set('principles', ['Eckert', 'Mauchly']);6 .set('site', 'Eckert–Mauchly Computer Corporation');7 .set('statedGoals', 'Develop the first commercial computer');8 .set('industry', 'Technology')9);
1Analytics.shared().identify("abc", traits: ["email": "abc@domain.com"])
1Amplitude.instance().setUserId("abc")2Amplitude.instance().identify(3 AMPIdentify()4 .set("email", value: "female")5 .set("age",value: NSNumber(value: 20))6)
1Analytics.shared().track("Button Clicked", properties: ["Hover Time": "100ms"])
1Amplitude.instance().logEvent("Button Clicked", withEventProperties: ["Hover Time": "100ms"] )
1Analytics.shared().group("OrgName-xyz", traits: ["plan": "enterprise"])
Assign user to a group:
1Amplitude.instance().setGroup("orgName", groupName:NSString(string:"xyz"))
Update properties of a group:
1Amplitude.instance().groupIdentifyWithGroupType(2 "orgName",3 groupName:NSString(string:"xyz"),4 groupIdentify:AMPIdentify().set("plan", value: "enterprise")5)
1Analytics.with(context).identify("abc", Traits().putEmail("abc@domain.com"), null)
1amplitude.setUserId("abc")2amplitude.identify(Identify().set("email", "abc@domain.com"))
1Analytics.with(context).track("Product Viewed", Properties().putValue("name", "Moto 360"))
1amplitude.track(2 "Product Viewed",3 mutableMapOf<String, Any?>("name" to "Moto 360")4)
1Analytics.with(context).group("abc", "orgName-xyz", Traits().putplan("enterprise"))
Assign user to a group:
1amplitude.setGroup("orgName", "xyz");
Update properties of a group:
1amplitude.groupIdentify("orgName", "xyz", Identify().set("plan", "enterprise"))
For all other SDKs, see the relevant SDK documentation.
Data validation is a critical step in the instrumentation process. Amplitude lets validate your event data via Amplitude's debugging tools.
You can add a new destination in just a few clicks.
For detailed instructions, see the documentation for the destination you want to add.
It's important to validate the migration to make sure there is minimal impact on downstream data consumers.
How long does it take to migrate?
What if I don't see an integration that I need?
What if I have an existing CDP contract?
Thanks for your feedback!
December 21st, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.