This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://profiles.segment.com/v1/spaces/<workspace_id>collections/users/profiles/user_id:<user_id>/traits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://profiles.segment.com/v1/spaces/<workspace_id>/collections/users/profiles/email:albertsemail@segment.com/links |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"id": "albertsemail@segment.com", | |
"type": "email", | |
"source_id": "CJ3MHte3di", | |
"collection": "users", | |
"created_at": "2018-12-06T00:01:13.593504Z", | |
"encoding": "none" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Calling: | |
https://profiles.segment.com/v1/spaces/<workspace_id>/collections/users/profiles/mobile_id:albert-xyz/external_ids | |
Or: | |
https://profiles.segment.com/v1/spaces/<workspace_id>/collections/users/profiles/email:albertsemail@segment.com/external_ids |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var variation = optimizelyClient.activate("web-mobile-experiment", userId); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const bucketingIdAttributes = { | |
domain: "SaaS", | |
$opt_bucketing_id: "segment123" | |
}; | |
// Activate with the bucketing ID | |
var variationKey = optimizelyClient.activate( | |
"my_experiment", | |
userId, | |
bucketingIdAttributes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"traits": { | |
"domain": "SaaS", | |
"name": "Segment" | |
}, | |
"cursor": { | |
"url": "", | |
"has_more": false, | |
"next": "", | |
"limit": 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://profiles.segment.com/v1/spaces/<workspace_id>/collections/accounts/profiles/group_id:segment123/traits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"to_collection": "accounts", | |
"external_ids": [ | |
{ | |
"id": "segment123", | |
"type": "group_id", | |
"source_id": "CJ3MHte3di", | |
"collection": "accounts", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
attribute = result['traits']['industry']; |
NewerOlder