Behind the growth of every consumer-facing product is the acquisition and retention of an engaged user base. When it comes to customer acquisition, the goal is to attract high-quality users as cost effectively as possible. With marketing dollars dispersed across a wide array of different touchpoints -- campaigns, channels, and creatives -- measuring effectiveness is a challenge. In other words, it's difficult to know how best to assign credit. This is where multi-touch attribution comes into play.
Introducing the Multi-touch Attribution Solution Accelerator from Databricks
Based on best practices from our work with leading global brands across all industries, we've developed solution accelerators for common analytics and machine learning (ML) use cases to save weeks or months of development time for your data engineers and data scientists.
Marketers and ad agencies are being held responsible to 1) demonstrate return on investment of their marketing dollars and 2) optimize marketing channel spend to drive sales. This solution accelerator complements our Sales Forecasting & Ad Attribution Solution Accelerator by helping to optimize marketing spend via accurately assigning credit to marketing channels using multi-touch attribution.
Using a synthetic dataset that consists of ad impressions and conversions, this solution accelerator:
- introduces a new multi-touch attribution model, with a collection of methods used to optimize ad spend across multiple customer channels.
- compares and contrasts heuristic-based attribution methods, such as first-touch and last-touch attribution models, as well as data-driven methods, such as markov chains.
- implements first-touch, last-touch, and markov chain attribution models.
- walks through the steps required to productionalize multi-touch attribution on your existing Databricks Lakehouse.
- creates a dashboard that marketers can use to optimize their spend across various channels.
By deploying this use case on Databricks, you can easily incorporate any type of data -- whether batch or streaming, raw or curated -- and then surface your results through your BI tool of choice.
About attribution modeling
A customer can have dozens of interactions with a brand before making a purchase. In this scenario, should we simply assign credit for the purchase to the ad that the customer converted on, or should we assign some portion of the credit to each and every interaction? If the latter, how should we decide how much credit to assign each interaction?
This is the problem that attribution modeling helps solve.
Attribution modeling is an approach to assigning credit to various touchpoints in a conversion path. It helps marketers visualize and understand the customer journey, trends, and how prospects move through the sales cycle. At a high level, credit assignment is typically done using one of two methods: heuristic or data-driven. Heuristic methods are rule-based, whereas data-driven methods use probabilities and statistics to assign credit.
Commonly used heuristic-based methods include the following:
- First-touch attribution model is a single-touch method that assigns full credit to the first channel that a customer interacts with prior to a conversion.
- Last-touch attribution is a single-touch method that assigns full credit to the last channel that a customer interacts with prior to a conversion.
- Linear attribution model is a multi-touch method that assigns credit uniformly across all channels.
- Time decay model is a multi-touch method that assigns an increasing amount of credit to channels that appear closer in time to a conversion event.
Heuristic methods are relatively easy to implement but are less accurate than data-driven methods. With marketing dollars at stake, data-driven methods are highly recommended.
Commonly used data-driven methods include the following:=
- Markov chains: this approach generates a probabilistic graph between all marketing channels by taking into account each customer's journey, in sequential order. Once this probabilistic graph is generated, credit is assigned by calculating the 'removal effect' for each and every channel.
- Shapley: this approach takes into account each customer's journey as well but disregards the sequence in which interactions take place.
Using multi-touch attribution in production
To realize the full value of multi-touch attribution, it's critical that the output is used to guide how marketing spend is allocated on an ongoing basis. For example, suppose you start a campaign by allocating your spend equally across five digital marketing channels. After your marketing campaign has been live for some time, you find that your affiliates channel is extremely efficient, accounting for 39% of attribution with just 20% of total spend. With this insight, you could then adjust your spend allocation accordingly and yield a higher return on ad spend (ROAS).
The purpose of this solution accelerator is to demonstrate how to assign conversion credit to marketing channels using multi-touch attribution. Get started today by importing this solution accelerator into your Databricks workspace.