Releases: amplitude/Amplitude-JavaScript
Releases · amplitude/Amplitude-JavaScript
v3.4.0
- Add
logEventWithTimestampto allow logging events with a custom timestamp. The timestamp should a number representing the time in milliseconds since epoch. See documentation for more details. - Add configuration option
deviceIdFromUrlParam, which when set totruewill have the SDK parse device IDs from url parameteramp_device_idif available. Device IDs defined in the configuration options during init will take priority over device IDs from url parameters.
v3.3.2
- Updated our UA-parser-js fork to properly parse the version number for Chrome Mobile browsers.
v3.3.1
v3.3.0
- Add option to track GCLID (Google Click ID) as a user property (set
includeGclidtotruein the SDK configuration). - Add option to track new UTM parameters, referrer, and GCLID values during the same session. By default the SDK only saves the values once at the start of the session. You can remove this restriction by setting
saveParamsReferrerOncePerSessiontofalsein the SDK configuration. See the Readme for more information.
v3.2.0
- Block event property and user property dictionaries that have more than 1000 items. This is to block properties that are set unintentionally (for example in a loop). A single call to
logEventshould not have more than 1000 event properties. Similarly a single call tosetUserPropertiesshould not have more than 1000 user properties.
v3.1.0
v3.0.2
v3.0.1
- Update README with link to our Google Tag Manager integration demo app.
- Fix bug where referrer and UTM params were being captured more than once per session.
v3.0.0
v2.13.0
- Update our fork of UAParser.js from v0.7.7 to v0.7.10. This will improve the resolution of user agent strings to device and OS information.