Use the Source!

The JavaScript SDK is hosted on BitBucket:

Recommended: Using the module

The Mobile Locker SDK is available as an ES2015 module:

# Recommended: Install it using yarn (https://yarnpkg.com):
yarn add mobilelocker-tracking

# Or install it using npm
npm install --save mobilelocker-tracking

Include it in your JS file:

# ES2015:
import mobilelocker from 'mobilelocker-tracking';

# CommonJS:
const mobilelocker = require('mobilelocker-tracking');

Legacy Mode

As of January 2024, legacy mode is no longer available. You must use the module as described above.