Skip to content
Greg Lavallee edited this page Nov 7, 2017 · 1 revision

This is a fork of the segmentio/analtyics.js repo with a branch from @rcline's branch that replaces duo with npm

To add new integrations, see this commit that removed them all

Adding a new integration to the build involves:

  1. If not already a dependency (most things are), adding the integration to package.json
  2. Updating integrations.js to include your new integration
  3. Running make (see the MakeFile)

This will result in new analytics.js and analytics.min.js files.

The point of step 1 is to not bloat the build size. We could include every integration by default, but it would be muy grande.

Clone this wiki locally