How do we track the pixel through Whistle?


When the user clicks on the link received in the SMS, the user is then redirected to the Landing Page URL used for that campaign. While redirecting to the campaign URL, we generate a unique click ID for every user and append that click ID to alias parameter at the end of the URL (Example: &alias=aaaaaa0000 The last 10 digits here denote the unique click ID)

To track the pixel through Whistle, please follow the below steps:

  • Step 1:
    Copy the tag code and paste it between the <head></head> tag of the landing page that you will be using when you run your Whistle campaigns

    <script>document.write('<script src="https://pixel.whistle.mobi/initialize_pixel.js?v=' + Date.now() + '"\><\/script>');</script>

  • Step 2:
    Copy the tag code and paste it between the <head></head> tag of the page or action button which you consider as the conversion point

    <script>document.write('<script src="https://pixel.whistle.mobi/track_pixel.js?v=' + Date.now() + '"\><\/script>');</script>