Skip to content
Chris Sperandio edited this page May 5, 2016 · 6 revisions

If you're looking to install Analytics.js through Segment, visit the Analytics.js Quickstart.

If you'd like to use Analytics.js outside of Segment but don't need to customize your build, pre-built unminified or minified versions of analytics.js found in the root of this repository.

Once you've done that, you'll want to mimic the Segment snippet by stubbing out the methods on the window and downloading your built version of the script asynchronously. For an example of doing that and initializing your integrations with options, see here.

If you're looking to produce a custom build of Analytics.js, see Building a Custom Distribution.

Clone this wiki locally