Categories
Print

How link tracking works?

It is important to track link clicks when you are running campaigns to track the webpage visits and identify the success of your campaigns. 


Using the link tracking functionality available in our ‘Business’ plan, i-genie will shorten all URLs present in your messages using a third-party tool short.io.


Now let us understand the process i-genie adopts to shorten the URL and creates unique URLs for every visitor



Process: 


Step 1: On click of ‘Deploy’ button, our Deploy API is called and checks for all the action blocks where ‘Link Tracking’ is enabled by the user

Step 2: All the URLs that are to be tracked are sent to short.io for shortening

Step 3: Short.io reverts back with the short URL

  • * Incase of Inbound bot, the short URL generated will be generic however unique for each visitor
  • * Incase of Outbound bot, we generate separate requests for each and each recipient of the campaign. For instance if there are 5 URLs that need to be sent to 100 recipients, a total of 500 URLs will be generated.


Here is the snippet of how the URLs will look like; 

Original Link:

“help.i-genie.co.uk” 

Short URL: 

“http://test.i-genie.link/vFYjNi”

When a short URL is clicked, this is how the URL is expanded; 

“http://help.i-genie.co.uk/?__wotbid=9433&__wotcid=1&__wotvid=1933158&__wotvkey=9aa7b077115048039301b6d1fca07f16&__wotreid=9aa7b077115048039301b6d1fca07f16”


The following parameters are appended on the URL; 


  • * Wotbid: Identifies the bot ID of the bot from which the dialogue or URL is executed
  • * Wotcid: Identifies the channel from which the dialog or URL is sent
    • – ‘wotcid = 1‘ Indicates Web channel
    • – ‘wotcid = 3‘ Indicates WhatsApp channel
    • – ‘wotcid = 4‘ Indicates Facebook channel
    • – ‘wotcid = 5‘ Indicates SMS channel
  • * Wotvid: Indicates visitor ID at i-genie level (Every visitor speaking with i-genie chatbot is given a unique ID)
  • * Wotvkey: Indicates visitor key at i-genie level
  • * Wotreid: Indicates recipient ID, this helps us identify who was the actual recipient that opened/clicked the link.


Incase the channel is WhatsApp or SMS, the recipient ID will be the phone number of the recipient 


Incase the channel is Facebook, the recipient ID will be unique Facebook ID generated by the Facebook 


Incase the channel is Web, the recipient ID will be same as the visitor key generated at i-genie level


If the channel is WhatsApp or SMS, the entire phone number along with country code will be visible in the URL when expanded from the Short URL