Last active
August 4, 2017 05:24
-
-
Save astfarias/fd1e14f869bce6cfd797ed209167c6c8 to your computer and use it in GitHub Desktop.
AIDAX - User ID in session and import of previously captured properties
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
| // Identification of João in session WITHOUT import previously captured properties | |
| // client-side JS | |
| ax.user({ id: "joao@email.com", migrate: false }); | |
| // server-side HTTP request | |
| curl https://api.aidax.com.br/user?key=<key>&uid="joao@email.com" | |
| // Identification of João in the session WITH import previously captured properties | |
| // client-side JS | |
| ax.user({ id: "joao@email.com" }); | |
| // server-side HTTP request | |
| curl https://api.aidax.com.br/user?key=<key>&previous_uid=<user id>&uid="joao@email.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment