Giter VIP home page Giter VIP logo

amplitude-javascript's Introduction


Circle CI npm version Bower version

Official Amplitude JS/Web SDK

A JavaScript SDK for tracking events and revenue to Amplitude.

Installation and Quick Start

  • For using the SDK, please visit our ๐Ÿ’ฏDeveloper Center for instructions on installing and using our the SDK.
  • For developing the SDK, please visit our CONTRIBUTING.md to get started.

Demo Pages

  • A demo page showing a simple integration on a web page.
  • A demo page showing an integration using RequireJS.
  • A demo page demonstrating a potential integration with Google Tag Manager.

React Native

This library now supports react-native. It has two dependencies on react-native modules you will have to install yourself:

Node.js

Please visit Amplitude-Node for our Node SDK.

Changelog

Click here to view the JavaScript SDK Changelog.

Upgrading Major Versions and Breaking Changes

6.0

The cookie format has been changed to be more compact. If you use the same Amplitude project(API key) across multiple applications, and you track anonymous users across those applications, you will want to update amplitude across all those applications at the same time. Otherwise these anonymous users will have a different device id in your different applications.

If you do not have multiple installations of amplitude, or if you do not track anonymous users across different installations of amplitude, this change should not affect you.

5.0

We stopped committing the generated amplitude.min.js and amplitude.js files to the repository. This should only affect you if you load amplitude via github. You should use npm or yarn instead.

We dropped our custom symbian and blackberry user agent parsing to simply match what the ua-parser-js library does.

4.0

The library now defaults to sending requests to https://api.amplitude.com instead of //api.amplitude.com. This should only affect you if your site does not use https and you use a Content Security Policy.

Need Help?

If you have any problems or issues over our SDK, feel free to create a github issue or submit a request on Amplitude Help.

amplitude-javascript's People

Contributors

alanibrahim avatar allanca avatar andarist avatar bang9 avatar blazzy avatar curtisliu avatar dependabot[bot] avatar djih avatar haoliu-amp avatar istrau2 avatar jooohhn avatar kelvin-lu avatar nirmal91 avatar paladin8 avatar petermikitsh avatar qpeela avatar sputh avatar sskates avatar wilkerlucio avatar willheslam avatar

Stargazers

 avatar

Watchers

 avatar

amplitude-javascript's Issues

Test GH Bot issue labels Node

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

Environment

  • JS SDK Version:
  • Installation Method:
  • Browser and Version or React Native and Device:

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.