Skip to content

Instantly share code, notes, and snippets.

@astfarias
Created August 14, 2017 20:37
Show Gist options
  • Select an option

  • Save astfarias/1f45bccc79a32566bfe465708ad82914 to your computer and use it in GitHub Desktop.

Select an option

Save astfarias/1f45bccc79a32566bfe465708ad82914 to your computer and use it in GitHub Desktop.
AIDAX - Capturing Event Properties Using JS Client ou HTTP request
// 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