Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

bespoke-analytics

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bespoke-analytics

Visitor analysis per slide in your Bespoke.js presentation

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Build Status Coverage Status

bespoke-analytics

Check out the presentation/demo.

Visitor analysis per slide in your Bespoke.js presentation

Download

Download the production version or the development version, or use a package manager.

Usage

This plugin is shipped in a UMD format, meaning that it is available as a CommonJS/AMD module or browser global.

For example, when using CommonJS modules:

// You choose either bespoke-hash or bespoke-history.
var bespoke = require('bespoke'),
  // hash = require('bespoke-hash'),
  // history = require('bespoke-history'),
  ga = require('bespoke-ga');
  analytics = require('bespoke-analytics');

bespoke.from('#presentation', [
  // hash(),
  // history(),
  ga({
    trackingId: '' // A string like 'UA-12345678-9'
  }),
  analytics()
]);

When using browser globals:

// You choose either bespoke-hash or bespoke-history.
bespoke.from('#presentation', [
  //bespoke.plugins.hash(),
  //bespoke.plugins.history(),
  bespoke.plugins.ga({
    trackingId: '' // A string like 'UA-12345678-9'
  }),
  bespoke.plugins.analytics()
]);

Package managers

npm

$ npm install bespoke-analytics

Bower

$ bower install bespoke-analytics

Credits

Mark Dalgleish for bespoke.js and related tools. This plugin was built with generator-bespokeplugin.

Thanks Hans for the Snow Traces Footprints White (CC0 license) image!

My best friend, bespoke-convenient, for continued support - rain and shine. I love you, man.

License

Copyright (c) 2015, Joel Purra All rights reserved.

When using bespoke-analytics, comply to the MIT license. Please see the LICENSE file for details, and the MIT License on Wikipedia.

Keywords

bespoke-plugin

FAQs

Package last updated on 24 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts