Skip to content

GO SDK 3.4.0

Choose a tag to compare

@Kameleoon Kameleoon released this 15 Aug 10:06
· 30 commits to main since this release

Features

  • Improved the tracking mechanism to consolidate multiple visitors into a single request. The new approach combines information on all affected visitors into one request, which is sent once per interval.
    • Flush changes:
      • The FlushVisitor now enqueues the visitor's data to be tracked with next tracking interval.
      • Added a new FlushVisitorInstantly method which tracks the visitor's data instantly.
      • Added a new parameter instant of the FlushAll method. If the parameter's value is true the visitor's data is tracked instantly. Otherwise, the visitor's data will be tracked with next tracking interval. Default value of the parameter is false.
  • Added new configuration parameter TrackingInterval (tracking_interval) to KameleoonClientConfig and the configuration file, which is used to set interval for tracking requests. Default value is 1000 milliseconds.
  • New Kameleoon Data type UniqueIdentifier is introduced. It will be used in all methods instead of isUniqueIdentifier parameter.

Bug fixes

  • The SDK no longer logs failed tracking requests to the Data API when the user agent is identified as a bot (i.e., when the status code is 403).
  • Fixed an issue that caused duplicate entries in feature flag results for both anonymous and authorized/identified visitors during data reconciliation. This problem occurred when custom data of type mapping ID was not consistently sent for all sessions.