Skip to content

Releases: amplitude/Amplitude-JavaScript

v3.4.0

19 Jan 05:48
Compare
Choose a tag to compare
  • Add 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.
  • Add configuration option 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.

v3.3.2

28 Oct 18:48
Compare
Choose a tag to compare
  • Updated our UA-parser-js fork to properly parse the version number for Chrome Mobile browsers.

v3.3.1

26 Oct 19:21
Compare
Choose a tag to compare
  • Fix bug where tracking UTM params and referrer drops unsent events that have been saved to localStorage.

v3.3.0

19 Oct 07:47
Compare
Choose a tag to compare
  • Add option to track GCLID (Google Click ID) as a user property (set includeGclid to true in 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 saveParamsReferrerOncePerSession to false in the SDK configuration. See the Readme for more information.

v3.2.0

07 Oct 19:05
Compare
Choose a tag to compare
  • 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 logEvent should not have more than 1000 event properties. Similarly a single call to setUserProperties should not have more than 1000 user properties.

v3.1.0

14 Sep 20:36
Compare
Choose a tag to compare
  • Add configuration option forceHttps, which when set to true forces the SDK to always upload to HTTPS endpoint. By default the SDK uses the endpoint that matches the embedding site's protocol (for example if your site is HTTP, it will use the HTTP endpoint).

v3.0.2

06 Jul 21:15
Compare
Choose a tag to compare
  • productId is no longer a required field for Revenue logged via logRevenueV2.
  • Track raw user agent string for backend filtering.

v3.0.1

22 Jun 23:36
Compare
Choose a tag to compare

v3.0.0

27 May 22:37
Compare
Choose a tag to compare
  • Add support for logging events to multiple Amplitude apps. Note this is a major update, and may break backwards compatability. See Readme for details.
  • Init callback now passes the Amplitude instance as an argument to the callback function.

v2.13.0

26 May 22:19
Compare
Choose a tag to compare
  • 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.