Created
August 14, 2017 20:37
-
-
Save astfarias/1f45bccc79a32566bfe465708ad82914 to your computer and use it in GitHub Desktop.
AIDAX - Capturing Event Properties Using JS Client ou HTTP request
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
| // Capturing Event | |
| // client-side JS | |
| ax.event({ | |
| name: "login", | |
| properties: { | |
| email: "contact@aidax.com.br", | |
| validation: true | |
| } | |
| }); | |
| // server-side HTTP request example | |
| curl https://api.aidax.com.br/event?key=<key>&uid=<user id>&name=login&p=email:contact@aidax.com.br,validation:true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment