In the normal variant, URLs look like http://domain/gallery/cool/index.html?12x34x567, where the numbers at the end are the Rotation parameter. This is used to track click statistics on thumbs and to calculate Cell K.
In Thumb CMS there are several options for working with this:
1. You can use the old variant http://domain/gallery/cool/index.html?12x34x567 and it will work the same way. In this case you get 100% transfer of the rotation parameter.
2. Passing through AJAX In this case, the rotation parameter will only be transferred if the user has JavaScript enabled. Clicks from users without JavaScript will not be counted, which may be good.
How to set it up:
The base template should look like this:
<script type="text/javascript" src="/scj/includes/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('a[rot_id]').each(function(){
$(this).bind('click', function(){
$.get('/scj/cgi/out.php',
{
'link': 'images/' + $(this).attr('rot_id'),
'url': 'counter',
'click_count': 'rotation_only'
},
function(data) {
}
);
});
});
});
</script>
<thumb num=1-10>
<a href="/gallery/<!--GALLERY_SLUG-->/index.html" target=_blank rot_id='<!--THUMB_LINK-->'> text </a>
<br>
</thumb>
3. Without rotation parameter
In this case, enable the Use Magic Rotation Parameter option in Rotation - Settings. The script will then try to determine where the click was made.
In this case you don't need to add the rotation parameter at all.
These are the available link options:
The general rule is: a click in rotation can be credited if at least one of these conditions is met
Note on options 2 and 3
If a user clicks on out.php?url=/blabla/something/other/, the only way to determine which gallery is at that URL is if you redirect to it, allowing rewrites to work and the script to receive the gallery slug. If you send to a trader instead, the rewrite won't work, so the script won't know which gallery this is and can't count the click-through rate.
For these links, thumb clicks are only counted when the user actually visits the gallery. So if you have 50% skimming, the CTR will be half; with 0% skimming, no thumb clicks will be counted at all.
What to do: