Using Sitelok with RapidWeaver

RapidWeaver is great website design application for the Mac. Its ease of use is combined with the ability for more advanced users to insert code whereever they need to create advanced websites. We now have many Sitelok users integrating with RapidWeaver so we have released a free package containing an RW specific manual, a set of snippets and an example rapidWeaver project which we hope will help. It can be downloaded from the Sitelok downloads page.

Using Sitelok with web analytics

A number of web analytics services allow you to set the ID of the visitor if known, Sitelok supports this which is great as you can look through your visitor data and see exactly who is viewing what. We have tested this with both Clicky and Visistat and it works well. What's more is that Sitelok download links automatically show up in Clicky as well showing when users download certain files.

To setup ID logging add the following line (the part in blue) to your Clicky snippet.

<?php if ($slusername!="") echo "<script type=\"text/javascript\"> var clicky_custom_session = { username: '$slusername' }; </script>"; ?>;
<script src="" type="text/javascript"></script>
<noscript><p><img alt="Clicky" src="" /></p></noscript>

To setup ID logging add the following part (in blue) to your Visistat snippet.

<script type="text/javascript">var DID=31190;</script>
<script type="text/javascript">var DID=xxxxxx;
var MyID=<?php echo $slusername; ?>;</script>
<script src="" type="text/javascript"></script>