Worked example: Linear

Six visits, two conversions, and how Linear splits them, step by step

One visitor, six visits over twelve days and two conversions. How much of each conversion does each channel earn?

DateChannel (visit)Action
5/1Meta Ads
5/4Google Ads
5/5Direct
5/7Meta Ads
5/9DirectConversion $10
5/11Google Ads
5/12Conversion $5

This example assumes the view includes all traffic, so direct visits take credit, and that every visit and conversion falls inside the selected date range. The rules themselves are on Attribution models.

Linear Attribution 5/1 - 5/12

First we will look at the results of the model, and then explain the math below.

SourceVisitsConversionsConversion Revenue
Meta Ads2.73$5.66
Google Ads2.53$3.66
Direct2.73$5.66

Calculation for the 1st linear model conversion, which happened on 5/9:

SourceVisitsConversionsConversion Revenue
Meta Ads2.2 * 2 = .4$10 * .4 = $4
Google Ads1.2 * 1 = .2$10 * .2 = $2
Direct2.2 * 2 = .4$10 * .4 = $4

Calculation for the 2nd linear model conversion, which happened on 5/12:

SourceVisitsConversionsConversion Revenue
Meta Ads2.1667 * 2 = .33$5 * .33 = 1.65
Google Ads2.1667 * 2 = .33$5 * .33 = 1.65
Direct2.1667 * 2 = .33$5 * .33 = 1.65

When you add the values from the 1st conversion and the 2nd conversion, you get the total!