Releases: JeroenBakker/just-attribute
Releases · JeroenBakker/just-attribute
0.4.5
0.4.4
0.4.3
Changed
- Empty UTM parameters are no longer captured.
0.4.2
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
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
Added
- Middleware to recognise organic search and social traffic.
See the readme for more information.
0.3.2
Made storage keys configurable.
Added
- Settings for storage keys, the defaults are the same as before.
0.3.0
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
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
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.