Live Tracker™ Installation
Installation of Live Tracker Zip / Tar
This bundle contains the source code required to build Live Tracker Web Application.
The build tool used is ANT.
The following ANT - targets may be used.
- >Compile - Use this target to compile the Live Tracker java classes.
- >Jar - Use this target to create jar file containing Live Tracker java classes.
- >War - Use this target to build Live Tracker WAR that can be deployed on any J2EE 1.4 compliant Application server like Tomcat 5.5.9
Read the below instructions to deploy the war file.
Binary Installation - War Deployment
- >Use your favourite deployment tool that works for your JEE server and deploy
the war file to a context, for example "/lt"
- >Copy /WEB-INF/jsp/ltrecordproxy.jsp from the war file to the root context of
your JEE server
- >Change the PageEventListener url in ltrecordproxy to change the exact
location of live tracker installation context
- >Change the javascript in /assets/js/livetracker.js to point to the correct
location of ltrecordproxy.jsp
- >Add tracker script in the <head> section of all the pages on your website that you want tracked
- <script type="text/javascript" src="/lt/assets/js/livetracker.js"></script>
- >Add script for the window closed event each of those pages as below:
- <body onbeforeunload="sendPageEvent(1)">
- >Restart your JEE server to activate live tracker
- >Visit some pages in your website where tracking scripts have been added.
- >Tracker page can accessed at /lt/ltc?axn=Track. The page content is self
explanatory.
- >Current refresh rates are 10 -15 seconds. See the effect of new visitors on
the site or the exising visitors leaving the site with a max time dealy of
30 seconds.