ClickTale Support Forums

All times are UTC - 6 hours



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Aug 23, 2009 1:16 am 
Offline

Joined: Tue Mar 18, 2008 1:50 pm
Posts: 31
Using the new "Cookies Integration" mechanism there is now a way to integrate better with Classic ASP pages that use session variables.

Replace the bottom part of your tracking code with the following:

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(/^ASPSESSIONID.*/);
ClickTaleFetchFrom = FetchFromWithCookies.constructFetchFromUrl();

if(typeof ClickTale=='function') ClickTale([!YOUR PARAMETERS!]);
</script>
<!-- ClickTale end of Bottom part -->


This should allow ClickTale to better cache the pages of your session based website.

Please note this code is not https/SSL compliant. To enable the recording of https pages (available to premium subscribers) you need to generate a 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 FetchFromWithCookies.js files will have to be hosted locally on a https location as well.

see also:
"cookies integration": viewtopic.php?f=5&t=694


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 3 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