Changelog

The changelog keeps a documented history of logger changes.

v1.3.0 - 22 December 2023

  • [Feature] Add surveyMinInterval and surveyMaxInterval parameters to the MetalitixLogger constructor to control the time window when the survey might appear.

  • [Feature] Add surveyLogo parameter to the MetalitixLogger constructor to allow the user to override the default Metalitix logo on the survey prompt.

  • [Feature] Add clientIPAddress parameter to the MetalitixLogger constructor to allow the user to override the client's session IP address, which is used to determine the session's country. By default, the server automatically obtains an anonymized IP address (x.x.x.0) to calculate the country. IP address is never saved.

  • [Feature] Add autoStartSession parameter to the MetalitixLogger component to allow the user to disable the automatic session start when the a-scene loads.

  • [Refactor] The inactivityInterval now accepts a valid in seconds rather than milliseconds. For backwards compatibility, inactivity intervals greater than 5000 are assumed to be in milliseconds.

  • [Refactor] User meta information only sends on session start rather than on each transmission. This will reduce the size of each transmission and improve performance.

v1.2.0 - 1 November 2023

  • [Feature] Add logEvent('chart', value) and logState('chart', value) functions to replace the now deprecated logCustomEvent('event', { chart: value })

  • [Feature] Add setAttribute('chart', value) function to replace the now deprecated setCustomField('key', value)

  • [Feature] Add removeAttribute('chart') and clearAllAttributes() function to replace the now deprecated removeCustomField('key') and clearAllCustomFields()

  • [Refactor] Return an informative error when recording to a project where the trial limit was reached.

  • [Fix] Logging events is now possible immediately after session start.

v1.1.3 - 21 August 2023

  • [Refactor] Remove unused, reserved functions logKey*Event(), logMouse*Event(), logTouch*Event(), and logZoom*Event() functions. The logCustomEvent() function should be used instead.

v1.1 - 26 July 2023

  • [Refactor] Bring versioning in line with other Metalitix integrations.

  • [Fix] Allow logging of event data when a session is paused.

  • [Fix] Listen to webpage unload event to attempt ending sessions.

v1.0 - 10 April 2023

  • Initial public release of Metalitix

Last updated