Skip to content

Instantly share code, notes, and snippets.

@thelinuxlich
Forked from astfarias/aidax-syntax-User.js
Last active July 18, 2017 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thelinuxlich/bb8ec85cdaee9982a2cfe9df86b3aa5d to your computer and use it in GitHub Desktop.
Save thelinuxlich/bb8ec85cdaee9982a2cfe9df86b3aa5d to your computer and use it in GitHub Desktop.
AIDAX - Example - Identify User
// Identify User
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
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment