Learn how to track signup events with Cello
ucc
during signup or demo booking:
payload.newUserId
Options 1: Stripe - I create Stripe customer at signup
metadata
to Stripe Customer Object on customer creation.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.customer.created
event will be sent with Stripe Webhook, which we will count as a signup event in Cello.Option 2: Chargebee - I create Chargebee customer at signup
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 organization ID, if your referrers can refer an organization and you want to reward them for organization account expansion.Customer Created
event will be sent with Chargebee Webhook, which we will count as a signup event in Cello.Option 3: Use Cello API POST /events API endpoint
new-signup
event to the Cello API with the following values in the payload: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.newUserId
- a unique ID in your system, identifying the new user who just signed up. Can also be organization ID, if your referrers can refer organizations and you want to reward them for organization account expansion.user.id
- unique ID of the new user (not the organization, if you are rewarding on organization level). This should be the same ID (productUserId
) you will use to boot the Referral component, when this user logs into your appuser.email
- new user emailuser.name
- new user nameuser.organizationId
(optional) - add organization ID, if your referrers can refer an organization and you want to reward them for organization account expansion.POST /events
call to send a new-signup
event:Option 4: Send a demo-attended event with Cello API for sales-led model
demo-attended
event to the Cello API with the following values in the payload: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.productUserId
- a unique ID in your system, identifying the new user who just signed up. Can also be organization ID, if your referrers can refer organizations and you want to reward them for organization account expansion.user.id
- unique ID of the new user (not the organization, if you are rewarding on organization level). This should be the same ID (productUserId
) you will use to boot the Referral component, when this user logs into your appuser.email
- new user emailuser.name
- new user nameuser.organizationId
(optional) - add organization ID, if your referrers can refer an organization and you want to reward them for organization account expansion.POST /events
call to send a new-signup
event: