You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<script>functioninitTrakerr() { var c =newTrakerrClient('<api-key>', '<version of your code>', '<deployment stage of codebase>'); c.handleExceptions(false); } initTrakerr();</script>
17
+
<script>functioninitTrakerr() { var c =newTrakerrClient('<api-key>', '1.0', 'production'); c.handleExceptions(false); } initTrakerr();</script>
18
18
```
19
19
20
-
This will catch all errors using javascript's onerror and send them to trakerr. While this code is useful, we recommend using the Detailed Integration Guide below to send more useful information about errors.
20
+
You can replace `1.0` and `production` with the values of app version and deployment stage of your codebase.
21
+
22
+
This will catch all errors using javascript's onerror and send them to trakerr. While this code is fast and clean, we recommend using the Detailed Integration Guide below to send more useful information about errors.
21
23
22
24
### NodeJS: 3-minute guide
23
25
If you use NPM, install as follows:
@@ -50,7 +52,10 @@ Include the dependencies and initialize the global client variable with your API
0 commit comments