Life-Time Value Code
This page provides detailed instructions on the Life-Time Value Code transform code block and what should be added to the Script Manifest file in order to execute the code
Last updated
Was this helpful?
This page provides detailed instructions on the Life-Time Value Code transform code block and what should be added to the Script Manifest file in order to execute the code
Last updated
Was this helpful?
This code block is dependent on the following upstream code blocks being implemented:
Initialization
UOS
Order Status
Order Channel and Marketing
Order and Order Line Revenue
Customer
The following code should be added to the main workflow in the appropriate position, after Reviews and before Returns per the page
Add this code to enable LTV analysis and determine LTV to CAC ratios by creating the following tables:
[drp.ltv_time_series
]
[drp.ltv_cac
]
Create the [drp.ltv_time_series
] table
Create the [drp.ltv_cac
] table