Login
480-304-5430

Custom offer link

Custom Offer Links

If you wish to add some dynamic variables into your offer link specific to the visitors session, or your site, you simply need to use our link append variable.

There are two ways in which you can set this variable, both have have the same result and in the end set the variable intellichat.Customise.LinkAppend.

  1. Initial Launch Code

    This is the recommended method for appending a link variable to your offer link.

    <script type="text/javascript" src="https://www.intellichat.com/launch/chat.php?cid=CAMPAIGN_ID&link_append=STRING_TO_APPEND"></script>
  2. JavaScript

    This method is most flexible if you are trying to pass through variables that have been dynamically generated via javascript or after the initial call to the intellichat launch script.

    <script type="text/javascript">
    intellichat.Customise.LinkAppend = escape('STRING_TO_APPEND');
    </script>

If you are passing through multiple variables for your link, please be sure to url encode the string you are setting. In the second example above, this has already been done for you. For example 1, you can do this in your preferred programming language. Please see a PHP example below.

<script type="text/javascript" src="https://www.intellichat.com/launch/chat.php?cid=CAMPAIGN_ID&link_append=<?php echo urlencode('key1=var1&key2&var2'); ?>></script>

 

The above example will turn your offer link from
http://www.yourdomain.com/offer.php? into
http://www.yourdomain.com/offer.php?key1=var1&key2&var2

Intellichat is trusted by:

Connect with Intellichat: