v9.1.0
A long time coming, but we are back :)
We did some internal cleanup, making the library more accessible for tracking Critical User Journeys.
The most significant change is that we moved away from being Object-oriented and everything is Functional-oriented, which means to start Perfume, you can do.
import { initPerfume } from 'perfume.js';
initPerfume({
analyticsTracker: ({ metricName, data }) => {
myAnalyticsTool.track(metricName, data);
})
});Breaking Changes
- feat remove
enableNavigationTrackingand have the behavior as the default. - feat
getRatinghas been consolidated intogetVitalsScore. - chore rename
incrementUjNavigationtotrackUJNavigation. - chore deprecate
endPaint.