Analytics ·
Keitaro and Telegram Ads Integration
Step-by-step guide to setting up Postback and passing click_id from Telegram Ads to Keitaro without losing pixels.
By 2026 the Telegram Ads platform has become a key traffic source for iGaming, Nutra, Crypto, and info-business verticals. But the messenger has a major downside that scares classic media buyers: there is no built-in conversion pixel. You see clicks and impressions inside the account, but you do not know which exact ad drove the target action (deposit, registration, purchase) inside your CRM or CPA network.
Buying traffic blind in the B2B segment is a direct path to burning budget. The solution is to connect the ad account to a professional tracker — Keitaro (or Binom) — via built-in Telegram Web Apps (PWA) or chatbots.
In this practical guide we walk step by step through setting up end-to-end analytics, passing a unique click_id, and tracking clean ROI for every campaign in real time.
1. How end-to-end analytics works in Telegram Ads
Because you cannot insert a direct tracker redirect link into a Telegram Ads creative (moderation will ban such a campaign instantly), the funnel is built through in-platform landings: a Telegram bot or Telegram Mini App (PWA).
Data handoff mechanics:
- In the Telegram Ads creative you set a bot link with dynamic UTM tags (for example:
t.me/your_bot?start=tgads_{campaign_id}_{ad_id}). - The bot reads the launch parameters (
start_param), identifies the specific ad, and generates a uniquesubID(orclick_id) for the user. - When the user inside the bot goes to the offer site (or opens a Web App), the bot passes that
subIDinto Keitaro. - When the target action happens (deposit/purchase), the CPA network sends a Postback to Keitaro. The tracker matches the
subIDand shows you which exact ad brought the profit.
2. Step-by-step setup guide
Step 1. Campaign setup in Keitaro
- Open Keitaro, go to Traffic Sources, and create a new source: Telegram Ads.
- In source parameters add the required tracking tokens:
external_id = {ad_id}— ID of the specific adcreative_id = {campaign_id}— ID of the ad campaign
- Create a campaign in Keitaro, select the source you created and your target offer. Copy the campaign link (you will need it for the bot backend).
Step 2. Telegram bot logic (backend)
Your bot must parse incoming links. When a user clicks an ad, Telegram passes parameters after start= in the Message JSON packet (subID / start_param).
Example architecture code (Node.js) for handling a click:
bot.onText(/\/start (.+)/, async (msg, match) => {
const chatId = msg.chat.id;
const startParam = match[1]; // tgads_12345_67890
if (startParam && startParam.startsWith('tgads_')) {
const [, campaignId, adId] = startParam.split('_');
await db.saveClickData(chatId, { campaignId, adId });
const keitaroLink =
`https://yourtracker.com/?sub1=${campaignId}` +
`&sub2=${adId}&sub3=${chatId}`;
bot.sendMessage(chatId, 'Welcome! Get your access:', {
reply_markup: {
inline_keyboard: [[
{ text: 'Open platform', url: keitaroLink }
]]
}
});
}
});
Use the code carefully: this is an architecture sketch, not a production-ready script.
Step 3. Postback from the CPA network into Keitaro
To close the loop, your affiliate network or internal CRM must return conversion status. In the offer settings in the CPA network, set Keitaro’s standard Postback URL:
https://yourtracker.com/postback?subid={subid}&payout={payout}&status={status}
Now every registration or deposit appears instantly in the tracker admin panel.
3. Moderating links with tags: how to avoid rejection
Telegram Ads automatic filters are lenient toward deeplinks with the ?start= parameter if they lead to internal messenger resources. Manual moderators, however, may check the bot.
Safety rules:
- Transparent parameters: do not use words like money, casino, or crypto in the
startparameter. Replace them with neutral IDs. A string like?start=id_99231_881looks to a moderator like a standard technical traffic-routing parameter. - Simulate a useful action: the bot must not immediately redirect the user to an external link. The first message must include a greeting and content (lead magnet). The Keitaro tracker link should be embedded in a button inside that useful content.
4. Economic benefit: why it pays off
Teams that set up the Keitaro + Telegram Ads stack through agency accounts cut cost per lead (CPL) by 25–40% on average in the first month.
What analytics gives you:
- Kill dead weight: you clearly see ads that drive many cheap clicks in Telegram but 0 deposits in the CPA network.
- Scale profit: you can confidently raise CPM on ads that bring “fat” checks and high LTV, even if the click costs more.
Takeaway
Without a tracker, Telegram Ads remains a “black box”: clicks exist, but there is no link to money. Configure the bot or Mini App to pass start_param → subID → postback, and you can shut off burning ads and scale the ones that actually bring deposits and ROI.
FAQ: frequently asked questions
Why connect Keitaro to Telegram Ads?
Without a tracker you see impressions/clicks, not payoff to lead/deposit. Keitaro adds postbacks, subids and rules to pause losers and scale winners.
What does a typical integration look like?
Tracker campaign → landing/bot → postback to Keitaro → cuts by ad/GEO/creative. Ads use tagged links with campaign parameters.
Why does moderation reject tagged links?
Messy UTMs, redirect chains and obvious affiliate destinations raise risk. Use short clean URLs, a white wrapper, and keep tracking params on the tracker/bot side.
Can I send traffic to a bot and still track?
Yes. Bot deep links / start parameters pass click ids into Keitaro; conversions close via postback after the goal event.
When does a tracker pay for itself?
Often within the first multi-ad tests: killing losing funnels early usually saves more than Keitaro setup costs.
Don’t want to spend time on technical setup? We’ll do it for you!
Tracker integration and traffic redistribution logic require experience. One wrong line in bot code or an incorrectly written macro can cost hundreds of lost conversions and wasted budget.
Our agency takes full technical implementation and turnkey campaign launch:
- Turnkey “Bot + Keitaro” stack: our developers will configure your chatbot or PWA backend, set up
click_idhandoff, and show clean ROI per ad on your dashboard. - Moderation pass guarantee: we know which filters Telegram Ads introduced in 2026. We prepare “white” landings, set up smart cloaking, and protect your High-Risk campaigns from blocks.
- Trusted accounts (Euro / TON): you get access to exclusive reseller agency accounts with elevated trust from messenger moderators.
- Convenient working capital: top up the balance in USDT with no hidden fees, delays, or bureaucracy.
Hand the routine to professionals and focus on scaling profit.
Leave a request now — a technical director will consult you free of charge on future funnel architecture within 15 minutes.