Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@amplitude/analytics-browser

amplitude2.4mMIT2.16.1TypeScript support: included

Official Amplitude SDK for Web

analytics, amplitude

readme


Amplitude-TypeScript

This is Amplitude's latest version of the JavaScript SDK, written in TypeScript.

Development

If you plan on contributing to this SDK, here's how you can start.

  1. Clone GitHub repo
  2. Install dependencies
  3. Build and link packages
$ git clone git@github.com:amplitude/Amplitude-TypeScript.git
$ yarn
$ yarn build

Check our guidelines for repo contributions on CONTRIBUTING.md.

Projects

Documentation

See our Typescript SDK Reference for a list and description of all available SDK methods.