1.1.2 • Published 8 years ago
segmentio-insert v1.1.2
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