Skip to content

Releases: JeroenBakker/just-attribute

0.4.5

28 Aug 09:40
9823f3c
Compare
Choose a tag to compare

Changed

  • Make all referring services lower case. (#12)

0.4.4

27 Aug 13:45
19f8cc7
Compare
Choose a tag to compare

Changed

  • Too large, small or otherwise invalid last interaction timestamps are explicitly handled. (#11)

0.4.3

25 Aug 14:28
8dd6cd7
Compare
Choose a tag to compare

Changed

  • Empty UTM parameters are no longer captured.

0.4.2

25 Aug 12:18
3c7d4fa
Compare
Choose a tag to compare

Fixed

  • Clear log no longer sets null but it actually removes the storage item.
    Because the localStorage stores strings, and "null" is a string and valid JSON it was passing all checks
    and it was being returned instead of an empty array.

0.4.1

25 Aug 10:29
cb47625
Compare
Choose a tag to compare

Fixed

  • Subscribers are now notified of changed attribution after logging the new interaction.
    This way the subscribers have access to the full interaction log, including the interaction that just changed attribution.

0.4.0

23 Aug 18:29
de36a82
Compare
Choose a tag to compare

Added

  • Middleware to recognise organic search and social traffic.

See the readme for more information.

0.3.2

02 Aug 18:17
bd1e9eb
Compare
Choose a tag to compare

Made storage keys configurable.

Added

  • Settings for storage keys, the defaults are the same as before.

0.3.0

01 Aug 13:56
Compare
Choose a tag to compare

Now uses an object in the constructor instead of separate parameters

This makes it easier to specify arbitrary settings.
It is also pretty much standard to use this in JS libraries.

Changed

  • All settings are now passed to the constructor in an object.
    This allows users to more easily specify only the settings they want.
  • The storage object is now optional, defaulting to localStorage.
  • All settings can now be overwritten after instantiation.

0.2.0

26 Jul 13:24
Compare
Choose a tag to compare

Improved types and exports.
This should make the package a lot easier to use in other projects.

Added

  • An index.js that exports everything from the package
  • Compiled javascript in the published package
  • Separate type definitions in the published package

Changed

  • The middlewares are now functions instead of objects with methods
  • The attribution models are now functions instead of objects with methods

0.1.0

24 Jul 20:53
Compare
Choose a tag to compare

The first version!

Added

  • The ability to process pageviews, modeling them as interactions and logging any interactions that may lead to new attribution.
  • The ability to change interactions before evaluating changes in attribution through the use of middlewares.
  • The ability to respond to changes in attribution by registering a callback with InteractionLogger.onAttributionChange().
  • Attribution models that use the logged interactions to determine attribution.