Tracking subscription source

(Sergey Polyakov) #1

Hi
Is it possible to track subscription source and check subscription url variables?
And start different Episode depends on subscription variables?
F.e:
Facebook Messenger http://m.me/textback.io?ref=messengers-guide
Telegram http://telegram.me/textbacksupportbot?messengers-guide
Word to check - “messengers-guide”

(Daniel Beckett) #2

Hi @polyakovs

On Telegram we unfortunately don’t support any ref ID’s. The only exception here is for installing bots into telegram groups where you can use startgroup=# e.g. https://telegram.me/your_bot_name?startgroup=1

For the Facebook Messenger platform, specific ?ref links can be used with the bot’s private m.me link. For example, if you had a link to your bot placed on a website it might look something like this:

https://m.me/12345678901?ref=SalesPage

The part of that URL after the question mark will pass the parameter into your bot’s Metadata so that you can see and use the information. In this case we would know that the user came from the sales page but you could replace that with anything.

You may also find the Web Tools section useful :slight_smile: