1.1.2 • Published 8 years ago

segmentio-insert v1.1.2

Weekly downloads
18
License
ISC
Repository
github
Last release
8 years ago

segmentioInsert

Load segment.io snippet on this page, given an apiToken as a string. This does the same thing as the official snippet, but is designed for usage with browserify and hardcodes https:// instead of matching the page's scheme.

Parameters

  • apiToken string

Examples

var segmentInsert = require('segmentio-insert')
segmentInsert('my-api-token');

Returns analytics

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

9 years ago

1.0.1

9 years ago