Last active
August 4, 2017 05:22
-
-
Save astfarias/e9442cb0455eb75f08d3938897cec171 to your computer and use it in GitHub Desktop.
AIDAX - Adding Unique Properties of John in session without id
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
| // Adding John Properties at run time without id | |
| // client-side JS | |
| ax.user({ | |
| properties: { | |
| age: "25", | |
| job: "Data Analyst", | |
| $tags: ["beer"] | |
| } | |
| }); | |
| // server-side HTTP request | |
| curl https://api.aidax.com.br/user?key=<key>&uid="joao@email.com"&p={age: "25",job:"Data Analyst",$tags:["beer"]} | |
| /** | |
| Properties without id are associated with the generic anonymous id | |
| temporarily assigned to the user and stored in the device cache | |
| **/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment