Skip to content

Releases: amplitude/Amplitude-JavaScript

v2.12.1

21 Apr 19:20
Compare
Choose a tag to compare
  • Silence console warnings for various UTM property keys with undefined values.

v2.12.0

20 Apr 08:24
Compare
Choose a tag to compare

Please remember to update the script embed snippet on your site to use these new features!

  • Add support for setting groups for users and events. See the Readme for more information.
  • Add logRevenueV2 and new Revenue class to support logging revenue events with properties, and revenue type. See Readme for more info.
  • Add helper method to regenerate a new random deviceId. This can be used to anonymize a user after they log out. Note this is not recommended unless you know what are you doing. See Readme for more information.

v2.11.0

14 Apr 22:33
Compare
Choose a tag to compare
  • Add tracking of each user's initial_utm parameters (which is captured as a set once operation). Utm parameters are now sent only once per user session.
  • Add documentation for SDK functions. You can take a look here. A link has also been added to the Readme.
  • Fix cookie test bug. In rare cases, the cookie test failed to delete the key used in testing. Reloading the page generated new keys, filling up the cookie over time. Fixed test to re-use the same key.

v2.10.0

30 Mar 21:51
Compare
Choose a tag to compare
  • Identify function now accepts a callback function as an argument. The callback will be run after the identify event is sent.
  • Add support for prepend user property operation. This allows you to insert value(s) at the front of a list. See Readme for more details. Please update your script embed snippet to use prepend.
  • Keep sessions and event metadata in-sync across multiple windows/tabs.

v2.9.1

07 Mar 06:40
Compare
Choose a tag to compare
  • Fix bug where saveReferrer throws exception if sessionStorage is disabled.
  • Log messages with a try/catch to support IE 8.
  • Validate event properties during logEvent and initialization before sending request.
  • Add instructions for proper integration with RequireJS.

v2.7.1

19 Feb 00:35
Compare
Choose a tag to compare
  • Validate event properties during logEvent and initialization before sending request.

v2.9.0

15 Jan 22:02
Compare
Choose a tag to compare
  • Add ability to clear all user properties (see Readme for more information). Please update your script embed code to use it.

v2.8.0

15 Dec 22:54
Compare
Choose a tag to compare

Adding new User Property Operation append, please update your script embed code to use it.

  • Add getSessionId helper method to fetch the current sessionId.
  • Add support for append user property operation.
  • Add tracking of each user's initial_referrer property (which is captured as a set once operation). Referrer property captured once per user session.

v2.7.0

02 Dec 04:39
Compare
Choose a tag to compare
  • If cookies are disabled by user, then fallback to localstorage to save the cookie data.
  • Migrate sessionId, lastEventTime, eventId, identifyId, and sequenceNumber to cookie storage to support sessions across different subdomains.

v2.6.2

18 Nov 06:42
Compare
Choose a tag to compare
  • Fix bug where response code is not passed to XDomainRequest callback (affects IE versions 10 and lower).