Skip to content

Instantly share code, notes, and snippets.

@brianr
Created May 5, 2014 18:39
Show Gist options
  • Save brianr/a45fb3363ef7a207032d to your computer and use it in GitHub Desktop.
Save brianr/a45fb3363ef7a207032d to your computer and use it in GitHub Desktop.
example rollbar.js person config
<script>
var _rollbarConfig = {
accessToken: "your token here",
captureUncaught: true,
payload: {
environment: "production", // or development, etc.
person: {
id: "123", // required, a string
username: "brian", // optional, a string
email: "brian@rollbar.com" // optional, a string
}
}
}
// then the rest of the js snippet goes here
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment