A little known feature in TARS bots is that you can create custom links for individual people or campaigns for tracking and to get better metrics about where people are using your bot and who they are.

For example, you might want to create one link for traffic coming from Facebook and Twitter to see where people are clicking on your bot more.

This can be done in 3 simple steps.

First, you will need to deploy your bot using the deploy bot button in the top of the bot builder. Now you can click on the live link button next to it to open the bot in a new tab.

By default a url something looks like this https://convbot.hellotars.com/conv/r1Lt5o

Once the bot opens in the new tab you can add the data in the URL to customise it.

If you add a ? (Question mark) at the end of this URL, you can create a hidden parameter that will be visible along with the data submission. For example if I wanted to create two custom URLs, one for a facebook campaign and one for twitter I could simply add ?campaign=facebook or ?campaign=twitter. The URLs will look like this:

For Facebook:
https://convbot.hellotars.com/conv/r1Lt5o?campaign=facebook

For Twitter:
https://convbot.hellotars.com/conv/r1Lt5o?campaign=twitter

If you want to add multiple parameters you can simply add an & (Ampersand) and then another parameter. For example if I wanted to create a separate twitter link for your personal and business account you could add a parameter named account type using &account_type=. The URLs would look like this

Personal Account:
https://convbot.hellotars.com/conv/r1Lt5o?campaign=twitter&account_type=personal

Business Account:
https://convbot.hellotars.com/conv/r1Lt5o?campaign=twitter&account_type=business

Now when a user interacts with any of these links the parameters you added in the URL will be included in the user data submission  in the TARS Dashboard:

If you are wondering how to view the user submission data, as in the screenshot above, then check out our guide to Check Data documentation.

Did this answer your question?