I want to identify and track users so when someone lands on the site on day 1, but purchases on say day 30 I can attribute the sale to the original traffic source.
How accurate/reliable is X Stape User ID for this or should I use First Party Cookies?
What would you guys suggest for attribution best practises?
My workflow was going to be something like this (using 1PC):
check if user has existing cookie stored containing UUID
if not, create UUID and store as cookie and send data to backend along with traffic source
when they make a purchase, check for stored UUID data and assign to purchase
You should definitely use your own cookie that will be set via HTTP from your backend so that ITP restrictions don’t affect it. And you can use this cookie in the Cookie Keeper settings to recover marketing cookies based on it.