Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bugfender/bugfendersdk-js-sample
Bugfender Web SDK vanilla JS sample project
https://github.com/bugfender/bugfendersdk-js-sample
Last synced: 2 days ago
JSON representation
Bugfender Web SDK vanilla JS sample project
- Host: GitHub
- URL: https://github.com/bugfender/bugfendersdk-js-sample
- Owner: bugfender
- Created: 2020-04-15T13:03:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-14T10:18:21.000Z (6 months ago)
- Last Synced: 2024-05-14T11:34:21.827Z (6 months ago)
- Language: JavaScript
- Homepage: https://bugfender.com
- Size: 11.7 KB
- Stars: 3
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bugfender
Bugfender is a game-changing platform that logs every detail your users experience and feeds the data straight to an easy-to-use web console. Bugfender SDK is multi-platform and available for mobile and web apps, so you can use the same tool for all your apps.
## Bugfender SDK JS Sample
This repository contains a sample application written in HTML and vanilla JavaScript and using Bugfender SDK to collect user logs.
If you plan to use Bugfender SDK with a JavaScript framework, check the following documentation:
- [Angular](https://docs.bugfender.com/docs/platforms/web-apps/bugfender-for-angular/): Bugfender SDK for Angular
- [React](https://docs.bugfender.com/docs/platforms/web-apps/bugfender-for-react/): Bugfender SDK for React
- [Vue](https://docs.bugfender.com/docs/platforms/web-apps/bugfender-for-vue/): Bugfender SDK for Vue
- [Svelte](https://docs.bugfender.com/docs/platforms/web-apps/bugfender-for-svelte/): Bugfender SDK for Svelte## Links
- [Official JavaScript SDK Docs](https://docs.bugfender.com/docs/platforms/web-apps/bugfender-for-javascript-on-browsers/)
- [Bugfender JS SDK reference documentation](https://js.bugfender.com/)## Quick Start Guide
Here are the main points to getting Bugfender working on your apps:
* Get an app key at [bugfender.com](https://bugfender.com/)
* Import Bugfender SDK JavaScript file.```html
```
* Initialize on your script
```javascript
// Later on your JavaScript code
// Initialize. `appKey` is the only required option.
Bugfender.init({
appKey: '',
// apiURL: 'https://api.bugfender.com',
// baseURL: 'https://dashboard.bugfender.com',
// overrideConsoleMethods: true,
// printToConsole: true,
// registerErrorHandler: true,
// logBrowserEvents: true,
// logUIEvents: true,
// version: '',
// build: '',
});// Bugfender now can be used
Bugfender.log('Hello world!');
```Remember to change `` with the app key of your app and also your version & build numbers.