Created
May 5, 2014 18:39
-
-
Save brianr/a45fb3363ef7a207032d to your computer and use it in GitHub Desktop.
example rollbar.js person config
This file contains 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
<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