This is an old revision of the document!
Incoming tracking
To configure “incoming traffic” tracking on your site, you'll have to add a special tracking code on all pages that receive traffic (index page and all sub pages). If you are switching from a different script and have a running site, you can safely add TE3 tracking code in addition to the existing code - both scripts will track incoming traffic simultaneously.
1. Standard incoming tracking
Standard incoming tracking is simple to setup:
1.1. PHP extension
Add the tracking code below to all your .php
pages that receive traffic. Add it inside the <head> </head>
tag. The “include” command will most likely work for everyone.
include("/FULL/PATH/TO/public_html/your_te3_directory/in.php");
Tracking code with your full path already included
1.2. SSI extension
Add the tracking code below to all your .shtml
pages that receive traffic. Add it inside the <head> </head>
tag.
<!–-#include virtual=”/your_te3_directory/in.php?$QUERY_STRING” -->
Tracking code with your directory name already included
2. JavaScript tracking
This method is applicable in two situations:
2.1. If you are using caching - Wordpress users (Super Cache, Total Cache), Nginx caching, etc.
Javascript tracking method is less accurate than standard incoming tracking, therefore it should only be considered, if there is absolutely no other option.
Ko/ce bomo v TE docs dodali se pages and rediretions!
There are some downsides though. Rotating multiple index pages and redirecting surfers is not possible. Traffic tracking is also less accurate. Javascript incoming tracking method should only be considered, if there is absolutely no other option.