Telegram bot deep link tracking with the start parameter

Use a different link to the same Telegram bot on your website and in your newsletter. When someone taps Start, Telegram passes the source code from the link to your bot. You can attribute the start to a channel and use it to pick a welcome message.

Create one bot link per channel

Use https://t.me/your_bot?start=website for a website button and https://t.me/your_bot?start=newsletter for email. Replace the placeholder username and add both codes under Sources in ret4you. Check the Direct behavior for a plain bot link. A ret4you source code can contain 2–64 lowercase Latin letters, digits, hyphens or underscores.

Test first and repeat starts

  1. With a test account, open the website link and tap Start. Check the source on the user’s profile.
  2. With the same account, open the newsletter link and tap Start again. Check which code the bot processed and whether the profile’s source changed. Note the behavior before comparing channel totals.
  3. With a second test account, start the bot from a plain link to check Direct attribution.

Compare starts with clicks

Say your website button gets 120 clicks in one week and your bot records 35 starts with website. That’s about 29 starts per 100 clicks. Click logs and bot logs count different events. Use the same source code and reporting window for both. If you’re measuring new subscribers, count unique users’ first starts separately.

Create a Telegram bot link · Telegram documentation

Start 7-day trial