What this integration can and can’t track
Before you start
You’ll need:- A live Referly program with at least one affiliate to test with. If you haven’t got that far, start with setting up your program.
- A paid Calendly plan. Redirecting invitees to your own page is a Standard, Teams, or Enterprise feature and isn’t available on Calendly’s free plan. Without it, none of this can work.
- Access to edit your website’s code, or someone who can paste two snippets for you.
- If you want revenue tracked: payment collection already set up on your Calendly event type, through Stripe or PayPal.
Make sure affiliates link to your site, not to Calendly
This is the step people get wrong, and it’s the one that quietly breaks everything else. Referly can only recognise a referred visitor on pages that carry the Referly tracking script. You control your own website, so you can put the script there. You don’t controlcalendly.com, so you can’t put it there. An affiliate link that points straight at your Calendly page is invisible to Referly, and no amount of setup elsewhere will fix it.
So the affiliate’s link must land on your website. From there, the visitor can reach Calendly however you like.
Add the Referly tracking script to your site
This is what notices a visitor arriving on an affiliate link and remembers it in their browser for the length of your cookie window. Copy the script from Step 1: Tracking clicks in the instructions window. It has your program’s own identifier already filled in whereYOUR_PROGRAM_ID appears below:
head section of your site, ideally through a site-wide setting so it lands on every page at once. On Webflow that’s Site settings, then the Custom code tab, then the Head code field, followed by publishing the site. On WordPress, most themes and plugins offer a “header scripts” box. If you use Google Tag Manager, create a Custom HTML tag set to fire on All Pages.
Create the page invitees land on after booking
Calendly needs somewhere on your site to send people once they’ve booked. If you don’t already have a thank-you page, make one now. Something likehttps://your-site.com/booking-confirmed is fine. Keep it simple: confirm the meeting is booked, say what happens next, and add anything useful like a calendar reminder or a short prep note. It’s a real page your customers will see, so it’s worth a minute of thought.
The important part is that it lives on your own domain and carries the tracking script from the previous step. That’s what allows Referly to connect the booking to the visit.
Turn on the redirect in Calendly
Now tell Calendly to send invitees to that page and to pass the booking details along with them.Open the event type
Open More options
Expand the Confirmation page section
Choose the redirect
Enter your page address
https://your-site.com/booking-confirmed.Turn on passing event details
Save
Add the booking script to your thank-you page
The last piece. This code reads the booking details Calendly passed across and hands them to Referly. Copy it from Step 3: Setting Up Sales Tracking Scripts in the instructions window, and paste it into your thank-you page just before the closingbody tag. On Webflow that’s the Before </body> tag field in that page’s own settings. It goes on the thank-you page only, not site-wide.
- Visitors who didn’t come from an affiliate are ignored. The script runs on every booking, but Referly records nothing when there’s no referral in the browser. Your organic bookings won’t be credited to anyone by mistake.
- Bookings with no payment are recorded as a referred customer with no revenue. Only bookings where Calendly collected money get a sale attached.
- The same booking won’t be counted twice if the visitor refreshes the thank-you page.
Test it end to end
Do this before you tell any affiliate the integration is live.Grab a real affiliate link
Open it in a private window
Book a meeting the way a customer would
Watch where you land
Check Referly
How Referly decides who gets the credit
Worth knowing when something looks off. When a visitor lands on your site through an affiliate link, Referly records the click and stores it in their browser for as long as your cookie window allows. When they book and arrive on your thank-you page, the script passes their email and any payment amount to Referly, which looks up the referral still sitting in that browser and credits the affiliate behind it. Everything hinges on that stored referral. If it isn’t there, Referly correctly does nothing. That’s why a booking made in a different browser, on a different device, or after the cookie window has expired won’t be credited to anyone. Once someone is credited to an affiliate, that credit stays with them. Later visits from other affiliates don’t take it over.Limitations to be aware of
- Nothing after the booking is tracked. Cancellations, reschedules, and no-shows never reach Referly. A meeting that was booked and then cancelled still shows as a referral, so if you pay per booked call, agree with your affiliates upfront how you’ll handle no-shows.
- Revenue only exists if Calendly collects it. If you take payment after the call instead, the booking arrives with no value. Record the sale yourself when it closes, or track it through your payment processor.
- The invitee has to book in the same browser they clicked in. Someone who clicks on their phone and books on their laptop won’t be matched.
- A bare
calendly.comlink can never be tracked. There’s no way around this, so it’s worth repeating in your affiliate instructions. - This is set up per event type. A new meeting type you create later won’t be tracked until you add the redirect to it.
- Ad blockers and strict privacy settings can block the tracking script for a small share of visitors, as with any affiliate tool.
- The free Calendly plan can’t do this, because it has no redirect option.
Troubleshooting
I land on Calendly's own confirmation screen after booking
I land on Calendly's own confirmation screen after booking
I land on my thank-you page but nothing appears in Referly
I land on my thank-you page but nothing appears in Referly
head, and the booking script before the closing body tag. Also confirm you published the site after adding them.Bookings are recorded but always with no revenue
Bookings are recorded but always with no revenue
Clicks are counted but bookings never are
Clicks are counted but bookings never are
My second test booking wasn't recorded
My second test booking wasn't recorded
A booking wasn't credited even though the customer says they used an affiliate link
A booking wasn't credited even though the customer says they used an affiliate link
Bookings are credited to the wrong affiliate
Bookings are credited to the wrong affiliate