Order Channel and Marketing Code
This page provides detailed instructions on the Order Channel and Marketing Code transform code block and what should be added to the Script Manifest file in order to execute the code
Script Manifest File (YML)
Upstream Transformation Dependencies
This block is dependent on the following blocks being implemented:
Initialization
UOS
Google Analytics
Transformation Code Requirements
The following code should be added to the main workflow in the appropriate position, after Order Status and before Daily Plan per the Transform Code Sequence - DRP page
Order Channel and Marketing
Add these scripts to build the [drp.order_channel
] table which provide a default Google Analytics, first-click, last-click and Daasity view of order attribution.
For those with Fairing add the Enquire Labs block to include survey based answers in the attribution
Code to support the Attribution Settings functionality is part of the Channel Attribution Data Mart and not in this section
This script creates the [drp.order_channel_source
] that creates one record per order for each data source of attribution and allows us to select the appropriate attribution for the Daasity view
Optional script to include if you have Fairing as an integration
Scripts to include different attribution methods
Script to populate the final [drp.order_channel
] table
Optional script to analyze multi-touch orders
Last updated