Last active
August 10, 2017 17:24
-
-
Save astfarias/ff3674156f076c1928fb2fb7cb1acab2 to your computer and use it in GitHub Desktop.
AIDAX - Syntax - User
This file contains hidden or 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
// Identify User | |
// client-side JS | |
ax.user({ | |
id: "USER ID", //If the id is an email AIDAX will contextalize the id | |
properties: { | |
property1: "value", | |
property2: "value" | |
}, | |
migrate: true //optional parameter to migrate old user data in this session to the new user. Default is true | |
}); | |
// server-side HTTP request | |
curl https://api.aidax.com.br/user?key=<key>&previous_uid=<user id>&uid=<user id>&origin=<optional session origin>&p=<user properties in JSON format> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment