Skip to main content

new_paths_attribution

ChannelAttribution Pro lets you to train a Markov or Shapley model and then use it to perform attribution on new customer journeys. So it is easy and fast to make transaction-level attribution in a real-time context.

Parameters

PARAMETERTYPEDEFAULTDESCRIPTION
Datadata.frame/strdata.frame or a file address where customer journeys are stored
var_pathstrname of the column containing paths
var_convstrname of the column containing total conversions
DparamsstrNonename of the column containing total paths that do not lead to conversion
var_valuestrNonename of the column containing total conversion value
row_sepstr","if Data is a file address then row _sep is the line separator
cha_sepstr">"separator between channels
file_outputstrNonefile address where path attribution will be written
flg_write_nullsboolTrueIf True then non converting paths will be returned in path attribution output
flg_write_pathsboolFalseIf True then paths will be returned in the path attribution output
serverstr"app.channelattribution.io"address of the server where password will be checked to authorize the execution of the function
passwordstrNoneuser

Output

OUTPUTTYPEDESCRIPTION
attributiondata.framepath-level attribution