amplitude-js

WebJar for amplitude-js

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

amplitude-js
Last Version

Last Version

4.5.2
Release Date

Release Date

Type

Type

jar
Description

Description

amplitude-js
WebJar for amplitude-js
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/amplitude/amplitude-javascript

Download amplitude-js

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/amplitude-js/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>amplitude-js</artifactId>
    <version>4.5.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/amplitude-js/
implementation 'org.webjars.npm:amplitude-js:4.5.2'
// https://jarcasting.com/artifacts/org.webjars.npm/amplitude-js/
implementation ("org.webjars.npm:amplitude-js:4.5.2")
'org.webjars.npm:amplitude-js:jar:4.5.2'
<dependency org="org.webjars.npm" name="amplitude-js" rev="4.5.2">
  <artifact name="amplitude-js" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='amplitude-js', version='4.5.2')
)
libraryDependencies += "org.webjars.npm" % "amplitude-js" % "4.5.2"
[org.webjars.npm/amplitude-js "4.5.2"]

Dependencies

compile (5)

Group / Artifact Type Version
org.webjars.npm : json3 jar [3.3.2,4)
org.webjars.npm : segment__top-domain jar [3.0.0,4)
org.webjars.npm : blueimp-md5 jar [2.10.0,3)
org.webjars.npm : lodash jar [4.17.4,5)
org.webjars.npm » github-com-amplitude-ua-parser-js jar [ed538f1]

Project Modules

There are no modules declared in this project.


Test npm version Bower version

Official Amplitude JS/Web SDK

A JavaScript SDK for tracking events and revenue to Amplitude.

Installation and Quick Start

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.

org.webjars.npm

Amplitude Analytics

Versions

Version
4.5.2