Learn how to integrate Cello if you are using Chargebee JS to create Chargebee customer and Chargebee Webhook to send Cello conversion events.
<head>
of your application?productId=test
and ?ucc=test
to your website URL
cello-product-id
and cello-referral
getUcc()
method from the browser console
test
cello_ucc
- ucc, a referral code identifying the referrer. You can retrieve this code using attribution script getUcc ()
method, you have installed as a prerequisite to this guide.new_user_id
- a unique user ID in your system, identifying the new user who just signed up. This should be the same ID (productUserId
) you will use to boot the Referral component, when this user logs into your appnew_user_organization_id
(optional) - add this, if your referrers can refer an organization rather then a single user and you want to reward based on that.meta_data
:
Customer Created
event will be sent with Chargebee Webhook, which we will count as a signup event in Cello.