Identify

identify lets you tie a user to their actions and record traits about them. It includes a unique User ID and some optional traits you know about them like their email, segment, etc.

You can also update a users attributes after creating them, using the same POST API call. Don’t worry about sending only the attributes which have changed, our API takes care of that for you.

Field Type Description
user_id String (Required) Unique identifier for the user in your database A userId
segments List of Strings (Optional) Segments your user is part of
dripit.identify({
  user_id: "68723",
  segments: ['subscriber']
})
Field Type Description
token String Project token from users Dripit integration page
user_id String Unique identifier for the user in your database A userId or anonymousId is required
anonymous_id String Pseudo unique identifier visiting your web site
segments List of Strings (Optional) Segments your user is part of
curl -H "Content-Type: application/json" 
     -X POST 
     -d '{
       "token":"shop_token", 
       "user_id":"68723", 
       "anonymous_id": "022bb90c-bbac-11e4-8dfc-aa07a5b093db", 
       "semgents": ["subscriber"]
     }' 
     https://api.dripit.com/api/identify

results matching ""

    No results matching ""