New functionality for Insights on all supported platforms.
Today we are releasing version 6.0 to support our new Insights capabilities.
[BREAKING] By default, an element must be present within the viewport for 2 seconds before any connected Ninetailed tracking plugins will fire. Previously, plugins would fire events as soon as an element entered the viewport. The timing is customizable using a new componentTrackingViewThreshold property available on the NinetailedProvider that accepts a value in milliseconds. Use a value of 0 to emulate the old behavior.
[BREAKING] The useExperience hook returns variant as either the variant or baseline to render. Previously, this hook would return variant: null if the baseline was selected.
[BREAKING] Renames ninetailed.trackHasSeenExperience to ninetailed.trackComponentView to indicate that this can function as a tracker of both Ninetailed Experience and non-Ninetailed Experience content. In the latter case, supplying the experience ID and variant index are optional.