amplitude-js
Advanced tools
Changelog
3.6.0 (September 13, 2017)
const amplitude = require('amplitude');
or import 'amplitude' from 'amplitude-js';
Changelog
3.2.0 (October 7, 2016)
logEvent
should not have more than 1000 event properties. Similarly a single call to setUserProperties
should not have more than 1000 user properties.Changelog
3.4.0 (November 8, 2016)
logEventWithTimestamp
to allow logging events with a custom timestamp. The timestamp should a number representing the time in milliseconds since epoch. See documentation for more details.deviceIdFromUrlParam
, which when set to true
will have the SDK parse device IDs from url parameter amp_device_id
if available. Device IDs defined in the configuration options during init will take priority over device IDs from url parameters.