Dear Users,
Recently we have added additional processing for the caching mechanism which should help you make your pages more consistent.
It solves the problem of having multiple page versions - each with few pageviews - in step 2 of heatmaps and form analytics generation. Using these processing rules will allow you to tell us how to cache your page better.
For demonstration purposes lets look at a part of an HTML document
Code:
<body>
<h1>Hi Tal!</h1>
<p>
Welcome to my site
</p>
</body>
Lets say that the word "Tal" is dynamically generated. So for each visitor you will see a different value there.
This will create multiple version of the page (one for each visitor) and heatmaps will be very hard to use
To overcome this issue, you can replace the above code with the following
Code:
<body>
<h1>
<!-- ClickTaleExcludeBlock -->
Hi Tal!
<!-- EndClickTaleExcludeBlock -->
</h1>
<p>
Welcome to my site
</p>
</body>
This will make sure the cached version on our server will remove the username (and "Hi")
the cached version will become:
Code:
<body>
<h1>
</h1>
<p>
Welcome to my site
</p>
</body>
Now, lets say you want an alternative content to be displayed when you view playback/heatmaps/whatever.
You can specify alternative content simply:
Code:
<body>
<h1>
<!-- ClickTaleExcludeBlock -->
Hi Tal!
<!-- EndClickTaleExcludeBlock Hi Username -->
</h1>
<p>
Welcome to my site
</p>
</body>
This will become
Code:
<body>
<h1>
Hi Username
</h1>
<p>
Welcome to my site
</p>
</body>
You can put HTML in the alternative content section and it can span multiple lines.
You can also use the javascript & css versions:
Code:
/* ClickTaleExcludeBlock */
Content to ignore
/* EndClickTaleExcludeBlock alternative content
which spans multiple lines */
this will become
Code:
alternative content
which spans multiple lines
You should use this method to mark any timestamps, unique ids, "processed in X seconds" messages, random values and rotating elements. Doing this will insure you can aggregate those pages by version.
Using this method you can also remove other web analytics and tracking codes. Do note that we already remove many of the popular tracking/monitoring services when we cache by default.
Regards,
ClickTale Team.