Skip to content

uses web browser beacon API and send analytical information directly to Realtime Database

License

Notifications You must be signed in to change notification settings

yugin-pro/firebase-beacon

Repository files navigation

firebase-beacon

Lightweight JavaScript library for collecting browser data using the Beacon API and Firebase Realtime Database

Installation

  • 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>

Usage

send data `fbeacon('pageview', {test: new Date()})`

About

uses web browser beacon API and send analytical information directly to Realtime Database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published