GithubHelp home page GithubHelp logo

bmanturner / analytics.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from okgrow/analytics.js

0.0 1.0 0.0 9.15 MB

The hassle-free way to integrate analytics into any web application.

Home Page: http://segmentio.github.com/analytics.js/

License: MIT License

Makefile 0.33% JavaScript 99.67%

analytics.js's Introduction

Build your own Analytics.js

This is a fork of Segment's (analytics.js)[https://github.com/segmentio/analytics.js] and #PR 154 by rcline.

This repository houses a pre-built version of analytics.js containing every analytics integration supported by Segment.

Quick Start

  1. Clone the repo down git clone https://github.com/okgrow/analytics.js.git
  2. cd analytics.js
  3. npm install && npm run build
  4. The build will output these two files: analytics.js and analytics.min.js

Too reduce the final bundle size, you should remove any integrations that you are not using. To do that:

  1. Open up the lib/integrations.js file and remove all the integrations that you are not using.
  2. npm run build
  3. Your analytics.js and analytics.min.js will now only contain the integrations you are using.

You can now include the analytics.min.js file with your project to add analytics to your web app.

Documentation

The core logic of analytics.js is broken out into individual repositories:

  • To report an issue with analytics.js itself, head over to analytics.js-core, where the core analytics.js logic is maintained.
  • To report an issue with an integration. head over to the analytics.js-integrations organization, where we keep each integration in its own repository.

License

Released under the MIT license.

analytics.js's People

Contributors

ianstormtaylor avatar yields avatar calvinfo avatar ndhoule avatar amillet89 avatar lancejpollard avatar dominicbarnes avatar robv avatar coryvirok avatar dkador avatar simontabor avatar azcoov avatar philfreo avatar araddon avatar jessbrandi avatar f2prateek avatar cfnelson avatar mchail avatar nscott avatar devangpaliwal avatar reinpk avatar buger avatar koushan avatar jede avatar dangrossman avatar sperand-io avatar billyvg avatar bialecki avatar yury-egorenkov avatar yagnik avatar

Watchers

Brendan Turner avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.