No installation is required to use Amplitude.js. All you need to do is include a single line in your
<head> section of your HTML page.
NaN with the exact version number that you would like to use (see our releases for what version number to use):
NOTE: It's best to set your version number manually to make sure you have full control of what version you are running. If you need to upgrade in the future, just change
NaN to the latest version.
Option 2: Automatic install via
Download it via NPM to your existing project:
npm install --save amplitudejs
You will see the file under
Option 3: Manual download
amplitude.js file from our releases page and include the file manually with your project.
Amplitude.js is now available for use! All that's left is initializing.