Skip to content

Multi-Channel attribution modelling #6064

@mattab

Description

@mattab

The goal of this ticket is to implement a first version of multi-channel attribution across digital channels, and provide of attribution modelling in Piwik.

Context

Piwik can track Goals and Ecommerce conversions. By default, Piwik attributes 100% of conversion credit to the last referrer that was used before the conversion (sometimes called Last Non-Direct Click Attribution Model). A setting can be changed in the config to credit instead the first referrer that was used. This attribution model works quite well for most use cases, but it is too basic and limiting for advanced marketing users spending money across many channels.

This ticket aims to improve this attribution modelling to better credit the various referrers and campaigns used by visitors before they convert.

New attribution models

As a Piwik admin I would like to select one of the following attribution model:

  • Last Non-Direct Click Attribution Model. (current)
  • First Interaction/First Click Attribution Model.
  • Linear Attribution Model.
    • The Linear model might be used if your campaigns are designed to maintain contact and awareness with the customer throughout the entire sales cycle.
  • Time Decay Attribution Model.
    • The Time Decay model assigns the most credit to touchpoints that occurred nearest to the time of conversion. It can be useful for campaigns with short sales cycles, such as promotions.

Note: Linear Model and Time Decay model define a look back window in days.

Tasks

  • piwik.js enhancements:
    • store the last N referrers in the first party cookie pk_ref (currently tracks only the last or first referrer used)
  • Tracker enhancements:
    • New console command to modify Piwik schema to measure more than currently one referrer per visit. This is similar to the command to add more custom variables.
    • The following fields are currently used to keep track of referrers: referrer_type, referrer_name, referrer_url, referrer_keyword. When adding a new referrer slot, it would look like: referrer_type_1, referrer_name_1, referrer_url_1, referrer_keyword_1, referrer_time_1. User can choose to create 1 or 5 or 10 referrers slots, depending on how much precision is needed.
    • Refactor Tracker to record the N referrers for each new visit.
  • Aggregating - TBD
  • Reporting - TBD
  • Create user guide
  • Update this FAQ.
  • Create new FAQ.

Outstanding questions

  • Currently we do not credit Direct entry as a referrer type. Should we consider crediting Direct entry as a valid Referrer?

Out of scope

The following enhancements are not in the scope of this issue, but they could be implemented later as we collect all necessary data to build these reports.

  • Path Length report
  • Time lag report - see amount of time customers take from the first channel interaction to conversion.
  • Top path report - show the top different routes customers take before the conversion.

Note: these useful reports are found in Google Analytics.

The following enhancements and ideas could be worked on as an extension of this work:

Learn more in this post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions