Learn how to capture referral codes on your website
ucc
) on this landing page to properly attribute future conversions.
Follow these steps to set up referral code capture:
ucc
query parameter and stores it as a first-party cookie for later attribution of conversion events.
Install the Cello attribution script - Attribution JS - using one of these methods:
The attribution script also enables you to:
ucc
to signup formsucc
is available on your signup page:
cello-product-id
and cello-referral
ucc
access from the browser console:
getUcc()
during user signup to retrieve the referral code, then pass it in the signup event to Cello.For complex flows, save the ucc
with your user record so it’s available when sending signup events.