Skip to content

Instantly share code, notes, and snippets.

@surajair
Last active October 14, 2017 12:53
Show Gist options
  • Save surajair/e946291755060376189a354a538f8107 to your computer and use it in GitHub Desktop.
Save surajair/e946291755060376189a354a538f8107 to your computer and use it in GitHub Desktop.
Sentry Tracking User
Raven.setUserContext({
email: '[email protected]',
id: '123'
})
// call this function to rmeove the association. Normally call this when the user logs out.
Raven.setUserContext()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment