Skip to main content
Question

Meta Fbclid Parameter

  • February 25, 2026
  • 3 replies
  • 14 views

Hi

I’ve got a facebook meta ad that sends the ad clicker to my calendly booking page.

I have meta pixel linked to my calendly booking page.

The url at the calendly book page includes a number of parameters, including Fbclid.

Upon a successful booking of appointment, the lead then gets redirected to an external thank you page (my website). I have checked the box in calendly to allow for pass through of parameters.

However, the most critical parameter Fbclid, does not pass through from calendly to the external thank you page.

 

Requirement:

I need to extract the fbclid. What’s the best way to do this?

 

3 replies

  • New Community Member
  • February 26, 2026

@DeliveryTasker73878 - I would recommend setting up your facebook meta ad to link to your website (with Calendly embedded) instead of directly to Calendly.

This would allow you to use some custom javascript extract the Fbclid from the parent url and pass it as a param into the embedded Calendly booking page as a UTM param (which Calendly will track).

 

// Extract fbclid (or any param) from the parent page URL
function getUrlParam(param) {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get(param);
}

// Build the Calendly URL with UTM params
const fbclid = getUrlParam('fbclid');
const baseCalendlyUrl = 'https://calendly.com/YOUR-USERNAME/YOUR-EVENT';

Calendly.initInlineWidget({
url: `${baseCalendlyUrl}`,
parentElement: document.getElementById('calendly-embed'),
prefill: {},
utm: {
utmSource: 'facebook',
utmMedium: 'paid',
utmCampaign: fbclid || 'no_fbclid',
}
});

 


Thanks. Here’s a sample of the fbclid (see below).

It appears that the UTM parameter char limit of 255 applies for Calendly.

Whilst the sample below is 200, a quick google search shows that the Meta Ads fbclid may not be restricted to 255 char.

Do you think i’m over worrying?

fbclid=IwY2xjawQLfIFleHRuA2FlbQEwAGFkaWQBqzKBGw2CDGJyaWQRMmhlUHB6VW52eGdCNGplTXNzcnRjBmFwcF9pZBAyMjIwMzkxNzg4MjAwODkyAAEei8uL7Fu7cKMX5-hzZfcX9PKJB_6TWs40PuCiKNwvXzYc_S1oHLeyqzqos_o_aem_0IiQMcYBgFHjFawSofA6ow


  • New Community Member
  • February 26, 2026

@DeliveryTasker73878 - to be safe you could update the JS to truncate the id to 255 characters max; it seems very unlikely that in a scenario where it is greater than 255 that the first 255 characters wouldn’t be unique.

 

const fbclid = (getUrlParam('fbclid') || '').substring(0, 255);