Cal.com affiliate tracking with Refficks
Cal.com bookings, tied to the partner whose link brought the person, so their later payment is credited to that partner.
What it gives you
- Somebody who arrives through a partner's link and then books a call is tied to that partner. When they later pay, through any payment connection Refficks receives, the sale is credited to the partner who sent them.
What it does not
- A booking on its own pays nobody: it is recorded as a lead, never as a new account, so it does not qualify a referral reward that waits for an account. A partner is paid when that person pays, and the payment has to reach Refficks from a connection that names the same email.
- A visitor who has not accepted cookies, or whose browser sends Global Privacy Control, is not named.
- The booking has to end on your own page: a Cal.com booker embedded on your site tells the page only that a booking happened, not who made it.
Steps
1. Put the Refficks script on every page
Paste the snippet into the head of every page of your site, including the page people land on after booking.
2. Send bookings to your thank-you page
In Cal.com, open the event type and find "Redirect on booking" (under Booking experience → Confirmation, or Advanced on older versions). Turn it on, enter your thank-you page's address, and leave "Forward parameters" on.
3. Name the person on that page
Paste the code below on the thank-you page, after the Refficks script and before any analytics. It reads the email Cal.com forwards, takes it and the other personal details back out of the address at once, and tells Refficks who booked.
<script> (function () { var params = new URLSearchParams(location.search); var email = params.get("email"); if (!email) return; [ "email", "attendeeName", "attendeeFirstName", "attendeeLastName", "guestEmails", "phone", "name", ].forEach(function (name) { params.delete(name); }); var rest = params.toString(); history.replaceState(history.state, "", location.pathname + (rest ? "?" + rest : "") + location.hash); (function say(tries) { if (!window.refficks) return tries < 40 && setTimeout(function () { say(tries + 1); }, 250); window.refficks.lead({ email: email }); })(0); })(); </script>4. Book a test call
Open your site through any partner's link, copied from their page under Partners, and book a call. The checks on this guide in Refficks turn green as each part is seen.
Sources
Have an account? Open this guide in Refficks for your own script and the checks that show when it is working. New to Refficks? Create an account.