1.0.5 • Published 5 years ago

statful-browser-plugin v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Statful Browser Plugin

Statful plugin to capture browser information and add it on your metrics.

Build Status devDependency Status

Table of Contents

Installation

npm install --save statful-browser-plugin

Quick Start

    <script type="text/javascript" src="node_modules/statful-client-javascript/dist/statful.umd.min.js"></script>
    <script type="text/javascript" src="node_modules/statful-browser-plugin/dist/statful-browser-plugin.umd.min.js"></script>

    <script>
        // Init statful
        statful.initialize({
            dryrun: false,
            debug: false,
            app: 'exampleApp',
            flushInterval: 5000
        });

        // Use Statful Browser Plugin
        statful.use(new StatfulBrowserPlugin());

        // Send a metric
        statful.counter('page_load');
    </script>

Tags

These tags are only populated if available.

TagDescription
browserbrowser name
browser_versionbrowser version
device_typedevice type (desktop, tablet or mobile)
osos name
os_versionos version

Contribute

Follow the standard Fork and Pull Request workflow and:

  • Add tests for new feats
  • Make sure the test suite passes
  • Update or add documentation accordingly

Installation

$ npm install

Tests

$ npm test

Authors

Mindera - Software Craft

License

Statful Javascript Client is available under the MIT license. See the LICENSE file for more information.

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago