tellmetric
Integration

Bot builders and ad attribution: SaleBot, BotHelp and Puzzlebot with Tellmetric

Many Telegram funnels run their conversation in a no-code bot builder such as SaleBot, BotHelp or Puzzlebot. The builder handles the scenario well, but it cannot tell Meta which ad brought each subscriber. This guide shows how to add Tellmetric to such a funnel: which bot does what, how the click id travels into the builder, and how a registration or deposit comes back to the ad.

Start free Free plan, no card needed. See pricing

New to this? Start with the main guide: Telegram conversion tracking

One bot cannot serve two programs

Telegram delivers a bot's updates to one receiver at a time. The Bot API describes webhooks and polling as "two mutually exclusive ways of receiving updates", and a bot has one webhook. A builder connects to your bot with its token and receives everything that bot sees, so the same bot cannot also be read by Tellmetric. If you try, one of the two stops receiving updates.

The fix is simple: keep the builder's bot for the conversation, and create a second, small bot in @BotFather for Tellmetric. That bot is an admin of your group or channel with only "Invite users via link" turned on, which lets Tellmetric see who joined and through which link. It never talks to anyone unless you want it to.

Three common funnels

  • Ad → group or channel, builder bot inside. The ad points at a Tellmetric join link. Tellmetric's bot creates a single-use invite per click, the join is matched to the ad and reported to Meta, and your posts lead people to the builder's bot for the conversation.
  • Ad → builder bot directly. The ad points at a Tellmetric link that opens a web page or offer, with the builder's own start link as its address. Tellmetric records the click and passes its click id into the builder, which keeps it with the subscriber. When the subscriber registers or deposits, the builder (or the broker) sends that click id back to Tellmetric.
  • Deposits at a broker or casino. Whichever entry you use, the deposit is best reported by the system that sees the money: the broker's postback, with the click id the builder put into the broker link.

Carrying the click id into the builder

Tellmetric fills {clickid} in the address of a link that opens a web page or offer, so the builder's start link can receive it. What each builder does with it differs.

BotHelp. BotHelp's tracking links (r.bothelp.io/tg?…) pass UTM tags and custom fields to the subscriber; a custom field must exist first (Settings → Custom fields), otherwise the value is not recorded. Create a custom field called clickid, then use the tracking link from BotHelp as the address of your Tellmetric link and add the field to it:

Address of the Tellmetric link

BotHelp notes that a plain t.me link does not pass parameters, so use its tracking link, not the bot's t.me address.

SaleBot. SaleBot's documentation says parameters passed through its proxy links are saved to the client's variables. Use a SaleBot proxy link as the address of your Tellmetric link with clickid={clickid} added, and check in a client's card which variable received it.

Puzzlebot. Puzzlebot's entry links ("Entrances") work like UTM links for the bot. Its documentation that we could check does not say whether a value added to the start link is stored in a variable you can read later; ask Puzzlebot's support before relying on it. Until then, use the first or third funnel above: the join link for the group, and the broker's postback for deposits.

Sending a conversion back to Tellmetric

At the step where the subscriber registers or pays, the builder calls Tellmetric's postback URL with the stored click id. Each builder has an outgoing request action, and each writes variables its own way:

  • BotHelp: the External request action (GET or POST), with fields inserted as {%clickid%}.
  • SaleBot: the API request tab of a block (GET or POST), with variables inserted as #{clickid}.
  • Puzzlebot: the outgoing request action, with variables written as {{clickid}}.
Postback from the builder (BotHelp example)
https://www.tellmetric.com/postback?clickid={%clickid%}&status=reg&api_key=YOUR_KEY

Use status=reg or status=lead for a registration, and status=dep with payout and currency for a deposit, if the builder knows the amount. If the broker sees the deposit, let the broker send it instead: put the click id into the broker link from the builder (for example ?sub1={%clickid%}) and point the broker's postback at Tellmetric. Each conversion should be reported once, by one system.

Tellmetric answers each call in JSON; "matched_click": true means it was tied to the ad. A placeholder left unfilled, such as a literal {%clickid%}, is refused with a message saying the variable was not filled in.

What Tellmetric adds next to the builder's statistics

The builder counts subscribers, steps and broadcasts. Tellmetric ties each join, registration and deposit to the campaign, ad set and ad, reports them to Meta, TikTok, Google Ads and the other platforms you connect, and shows cost per joiner and return per campaign. The two answer different questions, so they sit side by side. More on that split in Telegram bot analytics; on leads from bots in bot lead generation; on postbacks in Telegram postback tracking; and on the join step in tracking Telegram joins from ads.

Frequently asked

Can I connect my builder's bot to Tellmetric directly?

No. Telegram gives a bot's updates to one receiver, and the builder already holds them. Create a second bot for Tellmetric and make it an admin of your group or channel.

Will the second bot write to my subscribers?

Only if you use Tellmetric's join messages or deep-link flows. As a group admin with just the invite right, it creates invites and reads joins; it cannot delete messages, ban people or post on its own.

Which builder is easiest to connect?

BotHelp documents both halves: custom fields filled from its tracking link, and an External request action that can send them. SaleBot documents both as well, with variables saved from proxy links. For Puzzlebot, confirm with its support where a start-link value is stored.

Do deposits need the builder at all?

Not if the broker sees them. Put the click id into the broker link and let the broker send the postback to Tellmetric.

Track Telegram and Discord conversions from your ads

The Free plan requires no card. Upgrade to Pro at any time.