# segmentio-insert **Repository Path**: mirrors_mapbox/segmentio-insert ## Basic Information - **Project Name**: segmentio-insert - **Description**: insert segment.io tracking code on a page - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-11-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## `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 ```js var segmentInsert = require('@mapbox/segmentio-insert') segmentInsert('my-api-token'); ``` Returns `analytics`