Home All Groups Group Topic Archive Search About


Author
15 Dec 2005 8:05 PM
Patrick Rouse
Please point me to the correct newsgroup if this is the wrong place to post
this question.

My website is written in simple HTML and hosted on a windows server at
secureserver.net (via GoDaddy).  I use an ASP Web Stats program called
Power-Stats to track my website traffic, search keywords...  The data is
stored in an Access Database hosted on my website.

I'd like to be able to track how many clicks I get on each of my banner ads,
however I currently don't identify them in any specific way, the image just
has a hyperlink to the advertiser's URL. 

I was told that to track the clicks on the banners I'd need to use an some
sort of ASP code to identify each  Obviously I don't know anything about ASP
Programming, so I was hoping someone could point me in the right direction or
some sample code I could fiddle with.

This is the script I have in an includes file to rotate my banners, so you
know what I'm working with:

<script language="JavaScript">

    <!-- Begin
    var how_many_ads = 8;
    var now = new Date()
    var sec = now.getSeconds()
    var ad = sec % how_many_ads;
    ad +=1;
    if (ad==1) {
    txt="";
    url="http://www.thinprint.com/rd_suite/";
    alt="";
    banner="images/rdsuite64_768x92-2.jpg";
    width="768";
    height="90";
    }
    if (ad==2) {
    txt="";
    url="http://www.thinprint.com/rd_suite/";
    alt="";
    banner="images/rdsuite64_768x92-2.jpg";
    width="768";
    height="90";
    }
    if (ad==3) {
    txt="";
    url="http://www.remote-scan.com/thinclients";
    alt="";
    banner="images/remote-scan-thin-client-1.jpg";
    width="768";
    height="90";
    }
    if (ad==4) {
    txt="";
    url="http://www.remote-scan.com/thinclients";
    alt="";
    banner="images/remote-scan-thin-client-2.jpg";
    width="768";
    height="90";
    }
    if (ad==5) {
    txt="";
    url="http://www.2x.com/thinclientserver";
    alt="";
    banner="images/thinclient_inchtape728x90.gif";
    width="728";
    height="90";
    }
    if (ad==6) {
    txt="";
    url="http://www.2x.com/thinclientserver";
    alt="";
    banner="images/thinclient_shorts728x90red.gif";
    width="728";
    height="90";
    }
    if (ad==7) {
    txt="";
    url="http://www.tricerat.com/products.php?sessioncomputing";
    alt="";
    banner="images/triCerat_468_1.gif";
    width="468";
    height="80";
    }
    if (ad==8) {
    txt="";
    url="http://www.tricerat.com/products.php?sessioncomputing";
    alt="";
    banner="images/triCerat_468_1.gif";
    width="468";
    height="80";
    }


    document.write('<center>');
    document.write('<a href=\"' + url + '\" target=\"_top\">');
    document.write('<img src=\"' + banner + '\" width=')
    document.write(width + ' height=' + height + ' ');
    document.write('alt=\"' + alt + '\" border=0><br>');
    document.write('<small>' + txt + '</small></a>');
    document.write('</center>');
    // End -->
    </script>




--
Patrick Rouse
Microsoft MVP - Terminal Server
http://www.sessioncomputing.com

Author
15 Dec 2005 9:25 PM
Kyle Peterson
thats a lof of javascript and I am not a javascript guy myself
www.aspbanner.com and www.banmanpro.com are worth checking out



Show quote
"Patrick Rouse" <PatrickRo***@discussions.microsoft.com> wrote in message
news:5B3221EB-DBEB-45D8-9373-9D2D1E376C24@microsoft.com...
> Please point me to the correct newsgroup if this is the wrong place to
> post
> this question.
>
> My website is written in simple HTML and hosted on a windows server at
> secureserver.net (via GoDaddy).  I use an ASP Web Stats program called
> Power-Stats to track my website traffic, search keywords...  The data is
> stored in an Access Database hosted on my website.
>
> I'd like to be able to track how many clicks I get on each of my banner
> ads,
> however I currently don't identify them in any specific way, the image
> just
> has a hyperlink to the advertiser's URL.
>
> I was told that to track the clicks on the banners I'd need to use an some
> sort of ASP code to identify each  Obviously I don't know anything about
> ASP
> Programming, so I was hoping someone could point me in the right direction
> or
> some sample code I could fiddle with.
>
> This is the script I have in an includes file to rotate my banners, so you
> know what I'm working with:
>
> <script language="JavaScript">
>
> <!-- Begin
> var how_many_ads = 8;
> var now = new Date()
> var sec = now.getSeconds()
> var ad = sec % how_many_ads;
> ad +=1;
> if (ad==1) {
> txt="";
> url="http://www.thinprint.com/rd_suite/";
> alt="";
> banner="images/rdsuite64_768x92-2.jpg";
> width="768";
> height="90";
> }
> if (ad==2) {
> txt="";
> url="http://www.thinprint.com/rd_suite/";
> alt="";
> banner="images/rdsuite64_768x92-2.jpg";
> width="768";
> height="90";
> }
> if (ad==3) {
> txt="";
> url="http://www.remote-scan.com/thinclients";
> alt="";
> banner="images/remote-scan-thin-client-1.jpg";
> width="768";
> height="90";
> }
> if (ad==4) {
> txt="";
> url="http://www.remote-scan.com/thinclients";
> alt="";
> banner="images/remote-scan-thin-client-2.jpg";
> width="768";
> height="90";
> }
> if (ad==5) {
> txt="";
> url="http://www.2x.com/thinclientserver";
> alt="";
> banner="images/thinclient_inchtape728x90.gif";
> width="728";
> height="90";
> }
> if (ad==6) {
> txt="";
> url="http://www.2x.com/thinclientserver";
> alt="";
> banner="images/thinclient_shorts728x90red.gif";
> width="728";
> height="90";
> }
> if (ad==7) {
> txt="";
> url="http://www.tricerat.com/products.php?sessioncomputing";
> alt="";
> banner="images/triCerat_468_1.gif";
> width="468";
> height="80";
> }
> if (ad==8) {
> txt="";
> url="http://www.tricerat.com/products.php?sessioncomputing";
> alt="";
> banner="images/triCerat_468_1.gif";
> width="468";
> height="80";
> }
>
>
> document.write('<center>');
> document.write('<a href=\"' + url + '\" target=\"_top\">');
> document.write('<img src=\"' + banner + '\" width=')
> document.write(width + ' height=' + height + ' ');
> document.write('alt=\"' + alt + '\" border=0><br>');
> document.write('<small>' + txt + '</small></a>');
> document.write('</center>');
> // End -->
> </script>
>
>
>
>
> --
> Patrick Rouse
> Microsoft MVP - Terminal Server
> http://www.sessioncomputing.com
Author
15 Dec 2005 9:46 PM
Patrick Rouse
Perhaps I didn't explain clearly.  I'm not looking for a banner management
system, but just a way to execute a click of a hyperlink that launches some
trackable ASP code, i.e. if if each click executed code on a specific ASP
page I could track how many times that page way hit.  Then by looking at the
traffic to those pages I'd know how many times each banner was clicked.


My website stats tracking software already tracks everything else, just not
which links people click on to spawn other websites.   Ideally I'd like to be
able to alter all of my hyperlinks to other sites so I could track which
sites others are going to from my site.

--
Patrick Rouse
Microsoft MVP - Terminal Server
http://www.sessioncomputing.com


Show quote
"Kyle Peterson" wrote:

> thats a lof of javascript and I am not a javascript guy myself
> www.aspbanner.com and www.banmanpro.com are worth checking out
>
>
>
> "Patrick Rouse" <PatrickRo***@discussions.microsoft.com> wrote in message
> news:5B3221EB-DBEB-45D8-9373-9D2D1E376C24@microsoft.com...
> > Please point me to the correct newsgroup if this is the wrong place to
> > post
> > this question.
> >
> > My website is written in simple HTML and hosted on a windows server at
> > secureserver.net (via GoDaddy).  I use an ASP Web Stats program called
> > Power-Stats to track my website traffic, search keywords...  The data is
> > stored in an Access Database hosted on my website.
> >
> > I'd like to be able to track how many clicks I get on each of my banner
> > ads,
> > however I currently don't identify them in any specific way, the image
> > just
> > has a hyperlink to the advertiser's URL.
> >
> > I was told that to track the clicks on the banners I'd need to use an some
> > sort of ASP code to identify each  Obviously I don't know anything about
> > ASP
> > Programming, so I was hoping someone could point me in the right direction
> > or
> > some sample code I could fiddle with.
> >
> > This is the script I have in an includes file to rotate my banners, so you
> > know what I'm working with:
> >
> > <script language="JavaScript">
> >
> > <!-- Begin
> > var how_many_ads = 8;
> > var now = new Date()
> > var sec = now.getSeconds()
> > var ad = sec % how_many_ads;
> > ad +=1;
> > if (ad==1) {
> > txt="";
> > url="http://www.thinprint.com/rd_suite/";
> > alt="";
> > banner="images/rdsuite64_768x92-2.jpg";
> > width="768";
> > height="90";
> > }
> > if (ad==2) {
> > txt="";
> > url="http://www.thinprint.com/rd_suite/";
> > alt="";
> > banner="images/rdsuite64_768x92-2.jpg";
> > width="768";
> > height="90";
> > }
> > if (ad==3) {
> > txt="";
> > url="http://www.remote-scan.com/thinclients";
> > alt="";
> > banner="images/remote-scan-thin-client-1.jpg";
> > width="768";
> > height="90";
> > }
> > if (ad==4) {
> > txt="";
> > url="http://www.remote-scan.com/thinclients";
> > alt="";
> > banner="images/remote-scan-thin-client-2.jpg";
> > width="768";
> > height="90";
> > }
> > if (ad==5) {
> > txt="";
> > url="http://www.2x.com/thinclientserver";
> > alt="";
> > banner="images/thinclient_inchtape728x90.gif";
> > width="728";
> > height="90";
> > }
> > if (ad==6) {
> > txt="";
> > url="http://www.2x.com/thinclientserver";
> > alt="";
> > banner="images/thinclient_shorts728x90red.gif";
> > width="728";
> > height="90";
> > }
> > if (ad==7) {
> > txt="";
> > url="http://www.tricerat.com/products.php?sessioncomputing";
> > alt="";
> > banner="images/triCerat_468_1.gif";
> > width="468";
> > height="80";
> > }
> > if (ad==8) {
> > txt="";
> > url="http://www.tricerat.com/products.php?sessioncomputing";
> > alt="";
> > banner="images/triCerat_468_1.gif";
> > width="468";
> > height="80";
> > }
> >
> >
> > document.write('<center>');
> > document.write('<a href=\"' + url + '\" target=\"_top\">');
> > document.write('<img src=\"' + banner + '\" width=')
> > document.write(width + ' height=' + height + ' ');
> > document.write('alt=\"' + alt + '\" border=0><br>');
> > document.write('<small>' + txt + '</small></a>');
> > document.write('</center>');
> > // End -->
> > </script>
> >
> >
> >
> >
> > --
> > Patrick Rouse
> > Microsoft MVP - Terminal Server
> > http://www.sessioncomputing.com
>
>
>
Author
16 Dec 2005 1:01 AM
Larry Randolf
search aspin.com plenty of articles and code snippets on tracking there


Show quote
"Patrick Rouse" <PatrickRo***@discussions.microsoft.com> wrote in message
news:642DCE61-C2B5-482C-8D12-CB637A0E2DB5@microsoft.com...
> Perhaps I didn't explain clearly.  I'm not looking for a banner management
> system, but just a way to execute a click of a hyperlink that launches
> some
> trackable ASP code, i.e. if if each click executed code on a specific ASP
> page I could track how many times that page way hit.  Then by looking at
> the
> traffic to those pages I'd know how many times each banner was clicked.
>
>
> My website stats tracking software already tracks everything else, just
> not
> which links people click on to spawn other websites.   Ideally I'd like to
> be
> able to alter all of my hyperlinks to other sites so I could track which
> sites others are going to from my site.
>
> --
> Patrick Rouse
> Microsoft MVP - Terminal Server
> http://www.sessioncomputing.com
>
>
> "Kyle Peterson" wrote:
>
>> thats a lof of javascript and I am not a javascript guy myself
>> www.aspbanner.com and www.banmanpro.com are worth checking out
>>
>>
>>
>> "Patrick Rouse" <PatrickRo***@discussions.microsoft.com> wrote in message
>> news:5B3221EB-DBEB-45D8-9373-9D2D1E376C24@microsoft.com...
>> > Please point me to the correct newsgroup if this is the wrong place to
>> > post
>> > this question.
>> >
>> > My website is written in simple HTML and hosted on a windows server at
>> > secureserver.net (via GoDaddy).  I use an ASP Web Stats program called
>> > Power-Stats to track my website traffic, search keywords...  The data
>> > is
>> > stored in an Access Database hosted on my website.
>> >
>> > I'd like to be able to track how many clicks I get on each of my banner
>> > ads,
>> > however I currently don't identify them in any specific way, the image
>> > just
>> > has a hyperlink to the advertiser's URL.
>> >
>> > I was told that to track the clicks on the banners I'd need to use an
>> > some
>> > sort of ASP code to identify each  Obviously I don't know anything
>> > about
>> > ASP
>> > Programming, so I was hoping someone could point me in the right
>> > direction
>> > or
>> > some sample code I could fiddle with.
>> >
>> > This is the script I have in an includes file to rotate my banners, so
>> > you
>> > know what I'm working with:
>> >
>> > <script language="JavaScript">
>> >
>> > <!-- Begin
>> > var how_many_ads = 8;
>> > var now = new Date()
>> > var sec = now.getSeconds()
>> > var ad = sec % how_many_ads;
>> > ad +=1;
>> > if (ad==1) {
>> > txt="";
>> > url="http://www.thinprint.com/rd_suite/";
>> > alt="";
>> > banner="images/rdsuite64_768x92-2.jpg";
>> > width="768";
>> > height="90";
>> > }
>> > if (ad==2) {
>> > txt="";
>> > url="http://www.thinprint.com/rd_suite/";
>> > alt="";
>> > banner="images/rdsuite64_768x92-2.jpg";
>> > width="768";
>> > height="90";
>> > }
>> > if (ad==3) {
>> > txt="";
>> > url="http://www.remote-scan.com/thinclients";
>> > alt="";
>> > banner="images/remote-scan-thin-client-1.jpg";
>> > width="768";
>> > height="90";
>> > }
>> > if (ad==4) {
>> > txt="";
>> > url="http://www.remote-scan.com/thinclients";
>> > alt="";
>> > banner="images/remote-scan-thin-client-2.jpg";
>> > width="768";
>> > height="90";
>> > }
>> > if (ad==5) {
>> > txt="";
>> > url="http://www.2x.com/thinclientserver";
>> > alt="";
>> > banner="images/thinclient_inchtape728x90.gif";
>> > width="728";
>> > height="90";
>> > }
>> > if (ad==6) {
>> > txt="";
>> > url="http://www.2x.com/thinclientserver";
>> > alt="";
>> > banner="images/thinclient_shorts728x90red.gif";
>> > width="728";
>> > height="90";
>> > }
>> > if (ad==7) {
>> > txt="";
>> > url="http://www.tricerat.com/products.php?sessioncomputing";
>> > alt="";
>> > banner="images/triCerat_468_1.gif";
>> > width="468";
>> > height="80";
>> > }
>> > if (ad==8) {
>> > txt="";
>> > url="http://www.tricerat.com/products.php?sessioncomputing";
>> > alt="";
>> > banner="images/triCerat_468_1.gif";
>> > width="468";
>> > height="80";
>> > }
>> >
>> >
>> > document.write('<center>');
>> > document.write('<a href=\"' + url + '\" target=\"_top\">');
>> > document.write('<img src=\"' + banner + '\" width=')
>> > document.write(width + ' height=' + height + ' ');
>> > document.write('alt=\"' + alt + '\" border=0><br>');
>> > document.write('<small>' + txt + '</small></a>');
>> > document.write('</center>');
>> > // End -->
>> > </script>
>> >
>> >
>> >
>> >
>> > --
>> > Patrick Rouse
>> > Microsoft MVP - Terminal Server
>> > http://www.sessioncomputing.com
>>
>>
>>
Author
16 Dec 2005 1:07 AM
Patrick Rouse
Thanks Larry. :)
--
Patrick Rouse
Microsoft MVP - Terminal Server
http://www.sessioncomputing.com


Show quote
"Larry Randolf" wrote:

> search aspin.com plenty of articles and code snippets on tracking there
>
>
> "Patrick Rouse" <PatrickRo***@discussions.microsoft.com> wrote in message
> news:642DCE61-C2B5-482C-8D12-CB637A0E2DB5@microsoft.com...
> > Perhaps I didn't explain clearly.  I'm not looking for a banner management
> > system, but just a way to execute a click of a hyperlink that launches
> > some
> > trackable ASP code, i.e. if if each click executed code on a specific ASP
> > page I could track how many times that page way hit.  Then by looking at
> > the
> > traffic to those pages I'd know how many times each banner was clicked.
> >
> >
> > My website stats tracking software already tracks everything else, just
> > not
> > which links people click on to spawn other websites.   Ideally I'd like to
> > be
> > able to alter all of my hyperlinks to other sites so I could track which
> > sites others are going to from my site.
> >
> > --
> > Patrick Rouse
> > Microsoft MVP - Terminal Server
> > http://www.sessioncomputing.com
> >
> >
> > "Kyle Peterson" wrote:
> >
> >> thats a lof of javascript and I am not a javascript guy myself
> >> www.aspbanner.com and www.banmanpro.com are worth checking out
> >>
> >>
> >>
> >> "Patrick Rouse" <PatrickRo***@discussions.microsoft.com> wrote in message
> >> news:5B3221EB-DBEB-45D8-9373-9D2D1E376C24@microsoft.com...
> >> > Please point me to the correct newsgroup if this is the wrong place to
> >> > post
> >> > this question.
> >> >
> >> > My website is written in simple HTML and hosted on a windows server at
> >> > secureserver.net (via GoDaddy).  I use an ASP Web Stats program called
> >> > Power-Stats to track my website traffic, search keywords...  The data
> >> > is
> >> > stored in an Access Database hosted on my website.
> >> >
> >> > I'd like to be able to track how many clicks I get on each of my banner
> >> > ads,
> >> > however I currently don't identify them in any specific way, the image
> >> > just
> >> > has a hyperlink to the advertiser's URL.
> >> >
> >> > I was told that to track the clicks on the banners I'd need to use an
> >> > some
> >> > sort of ASP code to identify each  Obviously I don't know anything
> >> > about
> >> > ASP
> >> > Programming, so I was hoping someone could point me in the right
> >> > direction
> >> > or
> >> > some sample code I could fiddle with.
> >> >
> >> > This is the script I have in an includes file to rotate my banners, so
> >> > you
> >> > know what I'm working with:
> >> >
> >> > <script language="JavaScript">
> >> >
> >> > <!-- Begin
> >> > var how_many_ads = 8;
> >> > var now = new Date()
> >> > var sec = now.getSeconds()
> >> > var ad = sec % how_many_ads;
> >> > ad +=1;
> >> > if (ad==1) {
> >> > txt="";
> >> > url="http://www.thinprint.com/rd_suite/";
> >> > alt="";
> >> > banner="images/rdsuite64_768x92-2.jpg";
> >> > width="768";
> >> > height="90";
> >> > }
> >> > if (ad==2) {
> >> > txt="";
> >> > url="http://www.thinprint.com/rd_suite/";
> >> > alt="";
> >> > banner="images/rdsuite64_768x92-2.jpg";
> >> > width="768";
> >> > height="90";
> >> > }
> >> > if (ad==3) {
> >> > txt="";
> >> > url="http://www.remote-scan.com/thinclients";
> >> > alt="";
> >> > banner="images/remote-scan-thin-client-1.jpg";
> >> > width="768";
> >> > height="90";
> >> > }
> >> > if (ad==4) {
> >> > txt="";
> >> > url="http://www.remote-scan.com/thinclients";
> >> > alt="";
> >> > banner="images/remote-scan-thin-client-2.jpg";
> >> > width="768";
> >> > height="90";
> >> > }
> >> > if (ad==5) {
> >> > txt="";
> >> > url="http://www.2x.com/thinclientserver";
> >> > alt="";
> >> > banner="images/thinclient_inchtape728x90.gif";
> >> > width="728";
> >> > height="90";
> >> > }
> >> > if (ad==6) {
> >> > txt="";
> >> > url="http://www.2x.com/thinclientserver";
> >> > alt="";
> >> > banner="images/thinclient_shorts728x90red.gif";
> >> > width="728";
> >> > height="90";
> >> > }
> >> > if (ad==7) {
> >> > txt="";
> >> > url="http://www.tricerat.com/products.php?sessioncomputing";
> >> > alt="";
> >> > banner="images/triCerat_468_1.gif";
> >> > width="468";
> >> > height="80";
> >> > }
> >> > if (ad==8) {
> >> > txt="";
> >> > url="http://www.tricerat.com/products.php?sessioncomputing";
> >> > alt="";
> >> > banner="images/triCerat_468_1.gif";
> >> > width="468";
> >> > height="80";
> >> > }
> >> >
> >> >
> >> > document.write('<center>');
> >> > document.write('<a href=\"' + url + '\" target=\"_top\">');
> >> > document.write('<img src=\"' + banner + '\" width=')
> >> > document.write(width + ' height=' + height + ' ');
> >> > document.write('alt=\"' + alt + '\" border=0><br>');
> >> > document.write('<small>' + txt + '</small></a>');
> >> > document.write('</center>');
> >> > // End -->
> >> > </script>
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Patrick Rouse
> >> > Microsoft MVP - Terminal Server
> >> > http://www.sessioncomputing.com
> >>
> >>
> >>
>
>
>

AddThis Social Bookmark Button