Before you begin
- A running BonicBD container with the module enabled.
- A destination platform whose click identifier you want to restore.
1. The identifiers captured
The module captures fbclid, gclid, ttclid, msclkid, twclid, dclid, gbraid, wbraid, li_fat_id, epik and sclid on first hit, along with the gad_source and igshid helpers.
Capture happens on first hit, which is what makes the identifier available later in the same visit. If the module was enabled after a visit started, that visit will not have a captured identifier.
2. Where the identifiers are stored
Captured identifiers are stored in cookies, local storage, and IndexedDB, so that later conversion events can use those identifiers again when the setup is configured to do so.
The three locations are redundant copies. When one is unavailable, another may still hold the value; when all three are cleared or blocked, the identifier is gone for that visit.
3. Carrying the identifier into a conversion
A conversion event reads the stored identifier and puts it in the parameter the destination expects, which is how the destination attributes the conversion to the original click.
For Meta, that parameter is the fbc or fbclid value; for Google Ads it is gclid; for TikTok it is ttclid. The server tag has to write the parameter the destination is looking for, using the identifier that was actually captured.
Reviewed against the BonicBD documentation source on 2026-11-07. Dashboard labels can change; follow the current setup guide shown in your account.