When users click referral links, they land on your website first. Capture the referral code (Documentation Index
Fetch the complete documentation index at: https://docs.cello.so/llms.txt
Use this file to discover all available pages before exploring further.
ucc) on this landing page to properly attribute future conversions.
Follow these steps to set up referral code capture:
Step 1: Set up your landing page
Create a landing page for referral traffic. Choose one approach:- Dedicated referral landing page
- Home page with Cello New User Banner
Step 2: Install attribution script
The attribution script detects theucc 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:
Embedded Script Tag
Google Tag Manager
- Fetch referrer names for landing page personalization
- Get campaign parameters to display discounts
- Attach
uccto signup forms
Step 3: Verify installation
Verify that theucc is available on your signup page:
-
Test your website with these query parameters:
-
Verify these values are saved as cookies:
cello-product-idandcello-referral -
On your signup page, test
uccaccess from the browser console:Expected response: