Lightweight JavaScript library for collecting browser data using the Beacon API and Firebase Realtime Database
- download project to local storage
- run
npm i
- create file ./private/const.js with cotent
export const URL = 'your url to firebase realtime database'
- run
npm run build
- use file from dist\assets
<script src='dist\assets\index-4587fc62.js'></script>
send data `fbeacon('pageview', {test: new Date()})`