Skip to main content

Marketing Channel Attribution

MediumPremium

You are given the following tables:

attribution table:

session_idmarketing_channelpurchase_value
stringstringfloat

user_sessions table:

session_idad_click_timestampuser_id
stringdatetimestring

Identify the first touch attribution for all high value customers (based on CLV > 100). In other words, what marketing channel did these customers first encounter the product. Your output should have the following columns: user_id, marketing_channel