Nestable Processes Mutate

    jibo-analytics

    0.1.8 • Public • Published

    Overview

    Basic wrapped around Google Analytics APIs. Should work for both Node and Electron apps.

    Installation

    npm install --save jibo-analytics

    Usage

    analytics.event(eventCategory, eventAction, extraParameters [optional])

    Parameter Type Description Example Optional
    eventCategory String Category of the event "toolbar" false
    eventAction String Name of the event action "play" false
    extrasParameters Object If you want to track extra meta data for the event add the fields/values here. {mode: "local"} true

    Example:

    import analytics from 'jibo-analytics';
     
    analytics.init('UA-*', "<unique-user-id>");
    analytics.event('toolbar', 'play', {
        mode: 'local'
    });

    Reference

    Keywords

    none

    Install

    npm i jibo-analytics

    DownloadsWeekly Downloads

    1

    Version

    0.1.8

    License

    ISC

    Last publish

    Collaborators

    • squiddisco
    • wwlib
    • marstonstudio
    • mividtim
    • golgobot
    • justin-perez
    • jibo-jonathan