JavaScript library for capturing and tracking referral codes throughout the conversion funnel
ucc
) from landing pages and maintains attribution throughout the user journey. When users click referral links and land on your website, this library ensures their referral source is properly tracked through signup and purchase events.
The library automatically:
ucc
) query parameters from referral linksucc
) as first-party cookies for persistent trackingucc
) to signup formsucc
parametersgetUcc()
from URL or cookie.ucc
) parameter (e.g., yoursite.com?ucc=ABC123
)ucc
) and makes it accessible via JS methoducc
) is attributed to new user on signupucc
) to Cello when tracking signups and purchasesInstall the Library
Verify Installation
Explore the API