replaybird-js
v1.0.0
Published
Javascript library for ReplayBird Analytics
Downloads
3
Maintainers
Readme
ReplayBird JS Agent
ReplayBird Javascript library for ReplayBird Analytics.
Installation
ReplayBird is available as both a CDN Script and an NPM package
CDN Script
<script type="text/javascript" src="https://cdn.replaybird.com/agent/latest/replaybird.js"></script>
<script>
replaybird.init('YOUR_SITE_KEY', {});
</script>
NPM Package
npm install replaybird-js --save
ES6
import replaybird from 'replaybird-js'
replaybird.init('YOUR_SITE_KEY', {})
CommonJS
var replaybird = require('replaybird-js');
replaybird.init('YOUR_SITE_KEY', {});