rt_get_any_touch_attribution: gives each step credit for the number of conversions that...

rt_get_any_touch_attributionR Documentation

gives each step credit for the number of conversions that resulted from the corresponding path conversions

Description

if the path is Facebook -> Facebook -> Facebook -> Instagram -> 2 Conversions, then both Facebook & Instagram get credit for two conversions, regardless how many times they are in the path

Usage

rt_get_any_touch_attribution(
  .campaign_data,
  .conversion_column,
  .path_id = ".path_id",
  .step = "step"
)

Arguments

.campaign_data

dataframe with columns 'id | timestamp | step | num_conversions | conversion_value'

.conversion_column

e.g. num_conversions or conversion_value

.path_id

string identifying the path_id column

.step

string identifying the step column

Details

returns a dataframe with the combined results


shane-kercheval/rtools documentation built on July 7, 2022, 8:31 a.m.