Understand the available attribution models
masterThe library supports two main categories of attribution models to credit conversions across multi-channel customer journeys:
Heuristic Models
These are rule-based models that assign credit based on specific touchpoint positions or patterns:
- Last Interaction: Credits 100% of the conversion to the very last touchpoint.
- Last Click Non-Direct: Ignores direct traffic and credits 100% to the last non-direct channel.
- First Interaction: Credits 100% of the conversion to the first touchpoint.
- Linear: Distributes credit equally across all touchpoints in the journey.
- Time Decay: Assigns more credit to touchpoints that occurred closer to the time of conversion.
- Position Based: Assigns 40% to the first touchpoint, 40% to the last, and distributes the remaining 20% equally among middle touchpoints.
Algorithmic Models
These use mathematical frameworks to estimate channel contribution:
- Shapley Value: Based on Game Theory. It estimates a channel's contribution by calculating the marginal contribution of that channel across all possible permutations of the journey. Note that complexity increases exponentially ($2^n$) with the number of channels.
- Markov Chains: Uses a stochastic process and a Transition Matrix to model the probability of moving between channels. It calculates credit using the Removal Effect: the ratio of the difference between the general conversion probability and the conversion probability when a specific channel is removed.