-
Notifications
You must be signed in to change notification settings - Fork 2
Installing the Client
SEOVictory edited this page Sep 13, 2010
·
1 revision
The client makes heavy use of jQuery and a handful of plugins. All the plugins are in GPL/MIT licenses so you can use them wherever.
The js libraries are bundled in FreeTale/ft_client/js
In the header of the pages you want to track you put the following code (someplace between the head tags).
<head>
<title>FreeTale Client</tile>
<!-- Begin Javascript Needed for FreeTale -->
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/dimensions.js"></script>
<script type="text/javascript" src="js/urlencode.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/jquery.scrollTo.js"></script>
<!-- if you are hosting the server on the another domain
then src="" should be the full URL -->
<script
type="text/javascript"
src="../ft_server/replay.php">
</script>
<!-- if you are hosting the server on the another domain
then src="" should be the full URL -->
<script type="text/javascript">
var tracking_gif="../ft_server/gif.php";
</script>
<script type="text/javascript" src="js/freetale.js"></script>
<!-- End Javascript Needed for FreeTale -->
</head>