ClickTale Support

Classic ASP integration code
Page 1 of 1

Author:  TalShani [ Sun Aug 23, 2009 1:16 am ]
Post subject:  Classic ASP integration code

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:

<!-- ClickTale Bottom part -->
<div id="ClickTaleDiv" style="display: none;"></div>
<script type='text/javascript'>
document.write(unescape("%3Cscript src='"+((document.location.protocol=='https:') ? '' : '')+"WRb.js' type='text/javascript'%3E%3C/script%3E"));
<script type="text/javascript" src=""></script>
<script type="text/javascript">
ClickTaleFetchFrom = FetchFromWithCookies.constructFetchFromUrl();

if(typeof ClickTale=='function') ClickTale([!YOUR PARAMETERS!]);
<!-- 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

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group