ClickTale Support Forums

All times are UTC - 6 hours



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Jul 30, 2009 9:56 am 
Offline

Joined: Wed Mar 25, 2009 7:17 pm
Posts: 213
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group