How to fix broken Meta ad attribution when conversions happen inside a Telegram bot
When Meta ads drive users to a Telegram bot via a landing page, conversion attribution often breaks silently because the fbclid parameter cannot be passed through Telegram's deep link start payload, which is capped at 64 characters and excludes most special characters. A real fbclid typically exceeds 170 characters, making direct transfer impossible and causing Meta's Conversions API to receive events without the match data needed to tie conversions back to ad clicks. The recommended fix involves generating a short random token on the landing page, storing the full fbclid and click timestamp server-side against that token, and passing only the token through the Telegram deep link. Inside the bot, the token is used to retrieve the original click data and reconstruct a valid fbc value before sending the CAPI event. Developers are also advised to use the original click timestamp rather than the bot-open time, set action_source to 'chat' for accuracy, and apply a short TTL to unused tokens.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in