I need Click ID (Fbc) API for the Zapier-Shopify-Meta connection

Topic summary

Problem: A user needs the Click ID (fbc) for a Zapier–Shopify–Meta setup but cannot find it in the Shopify API.

Key point: fbc does not come from the Shopify API. If the Meta Pixel is properly installed, fbc is automatically generated and stored as a browser cookie.

How to find fbc:

  • Open the website in a browser session that arrived via a Facebook ad.
  • Open Developer Tools (Inspect/F12) and go to Application/Storage.
  • Check Cookies for your domain and locate the _fbc cookie; its value is the fbc.

Manual construction (if cookie not present):

  • Use the format: fb.1.creationTime.fbclid
  • creationTime = UNIX timestamp when the fbclid was received.
  • fbclid = the URL parameter present when a user lands from a Facebook ad.

Notes: Meta documentation on fbp/fbc is provided (link). This clarifies where to obtain fbc and how to build it if missing.

Status: Guidance provided; no confirmation from the original poster, so resolution is unconfirmed.

Summarized with AI on January 3. AI used: gpt-5.

Hello,

Zapier requests Click ID (Fbc) data for the meta connection. But I couldn’t find this data in the Shopify API, I wrote to support and searched, but it didn’t exist. Where can I find the Click ID (Fbc) ?

Hi @HanAgency

If you’ve set up everything correctly and the Meta Pixel is installed on your Shopify site, your fbc value is automatically generated and stored in a cookie. Here’s how to directly find your fbc:

  1. Open your website in a browser where you’ve previously clicked on a Facebook ad leading to your site.

  2. Open the Developer Tools in your browser (you can do this by right-clicking on the page and selecting “Inspect” or pressing F12).

  3. Go to the ‘Application’ tab (in Chrome) or ‘Storage’ tab (in Firefox).

  4. Look for cookies associated with your website’s domain in the left sidebar.

  5. Find the _fbc cookie. The value of this cookie is your fbc.

If you’re looking to manually build an fbc because you cannot find the _fbc cookie or for any other reason, use the format fb.1.creationTime.fbclid with your specific details filled in. Here, creationTime is the UNIX timestamp when you received the fbclid, and fbclid is the value from the URL parameter when a user lands on your page from a Facebook ad.

For more information, refer to Facebook help docs on managing fbp and fbc: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc