1.0.0 • Published 8 years ago
detect-buffer-share v1.0.0
Detect Buffer Share
This is a small script that detects when the user clicks the Buffer share button in their browser. You can use this script to track these events in Google Analytics for example.
Example Usage
Browser Globals
See test.html
detectBufferShare.onBuffer(function () {
ga('send', 'event', 'Buffer', 'Share');
});
CommonJS
var detectBufferShare = require("detect-buffer-share");
detectBufferShare.onBuffer(function () {
ga('send', 'event', 'Buffer', 'Share');
});
1.0.0
8 years ago