Skip to content

v9.1.0

Compare
Choose a tag to compare
@Zizzamia Zizzamia released this 01 Dec 07:09
· 9 commits to master since this release

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 enableNavigationTracking and have the behavior as the default.
  • feat getRating has been consolidated into getVitalsScore.
  • chore rename incrementUjNavigation to trackUJNavigation.
  • chore deprecate endPaint.