|
Program
Modules
- CGI Module to retrieve visitor info
Site*Tracker
can be used purely as a visitor tracking
system.
A
sale can only be related to the source
which sent the visitor to your site if
using a compatible order CGI, such as
one made with WebGenie's Shopping
Cart Professional or CGI*Star
Professional. If a CGI created with
one of the above is already on your
server to receive online orders, there
is nothing to change.
If
using third party order CGI on your
server, a plug-in CGI
module must be inserted. We are
happy to insert the code in your CGI as
a custom job. Please note that the order
CGI must reside on the same server as
the Site*Tracker CGI. In other words, if
using a hosted shopping cart option it
will not retrieve the visitor cookie.
Note:
The order CGI must reside on your
server.
Plug-in
module for order CGI
- Insert
the following module anywhere within
the CGI.
sub
GetSponsorCookie
{
# Module to obtain the
sponsorID
$sponsorID =
"";
@words = ();
$cookies = $ENV{'HTTP_COOKIE'};
if (!$cookies) {
return; }
@cookiesArray = split
(/;/, "$cookies");
foreach $cookieItem (@cookiesArray)
{
if
($cookieItem =~ /SiteSponsor/)
{
@words
= split (/=/, "$cookieItem");
}
}
$sponsorID =
$words[1];
}
- Insert
the following line in the CGI path
that retrieves form input fields:
&GetSponsorCookie;
- Include
the variable $sponsorID
in the order email
Contact
us if you would like us to customize
and get your order CGI working. A fee,
depending upon the amount of work, is
involved.
For
a free trial copy of Site*Tracker - DOWNLOAD
Need more unique features or custom install
the system on your server? Contact us about tailoring Site*Tracker to
your specific needs.
|