Format
fbc is fb.{subdomain index}.{creation time}.{fbclid}; fbp is fb.{subdomain index}.{creation time}.{random number}. Creation time is Unix time in milliseconds.
fbc and fbp connect a server event to the Meta ad click and browser. A wrong format silently lowers your match quality. Build one or paste one to check it.
Use the time the visitor first landed with this fbclid. The fbclid is copied exactly, including its case.
fbc is fb.{subdomain index}.{creation time}.{fbclid}; fbp is fb.{subdomain index}.{creation time}.{random number}. Creation time is Unix time in milliseconds.
Meta's click id is case-sensitive. Lowercasing or trimming it breaks attribution without any error.
0 for 'com', 1 for 'example.com', 2 for 'www.example.com'. When you build fbc on the server without a cookie, Meta says to use 1.
Platform rules from Meta: ClickID and the fbp and fbc parameters.
No. Send fbc only when the visitor came from a Meta ad (a _fbc cookie or an fbclid in the landing URL). Never invent one.
Yes. The browser SDK sets _fbc when a visit carries an fbclid and _fbp as a first-party cookie, and sends both with every event.
Trakero captures click ids, hashes customer data and sends each purchase once to Meta, TikTok, GA4 and more from your server, so ad blockers and Safari can't lose it.
Free tools
Check, build and debug your tracking in the browser. Nothing you paste leaves the page.
A short email when Meta, Google or TikTok change a tracking rule that affects stores, and when we add a free tool. A few a year. Unsubscribe in one click.
We use your address only for these emails. Privacy policy.