We have a new code which offers ColdFusion users the ability to easily record session cookies. This code will enable to get the data stored in these cookies, which helps identify your visitors (and changes the content of parts of your site accordingly). Instead of the bottom part of the tracking code, please place the following code:
Code:
<!-- ClickTale Bottom part -->
<div id="ClickTaleDiv" style="display: none;"></div>
<script type='text/javascript'>
document.write(unescape("%3Cscript src='"+((document.location.protocol=='https:') ? 'https://clicktale.pantherssl.com/' : 'http://s.clicktale.net/')+"WRb.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript" src="http://s.clicktale.net/FetchFromWithCookies.js"></script>
<script type="text/javascript">
FetchFromWithCookies.setFromCookie("CFID");
FetchFromWithCookies.setFromCookie("CFTOKEN");
// add similar line for each additional cookie variable
ClickTaleFetchFrom = FetchFromWithCookies.constructFetchFromUrl();
if(typeof ClickTale=='function') ClickTale([!YOUR PARAMETERS!]);
</script>
<!-- ClickTale end of Bottom part -->
Please note:
1. After
Code:
FetchFromWithCookies.setFromCookie("CFTOKEN");
more lines in the form of:
Code:
FetchFromWithCookies.setFromCookie("[!COOKIENAME!]");
Are probably needed, where [!COOKIENAME!] is the name of other session cookies required to properly identify your website visitors.
2.This code is not https/SSL compliant. To enable the recording of https pages (available to premium subscribers) you need to generate an https/SSL tracking code for your project and augment that code's bottom part similarly to the code appearing here (i.e. none of the original code is removed - only some lines are added). The WRb.js and FetchFromWithCookies.js files will have to be hosted locally as well.