Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 15th, 2005, 08:15 PM
Patrick Rouse
Guest
 
Posts: n/a
Default Track Banner Clicks

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
  #2  
Old December 15th, 2005, 09:35 PM
Kyle Peterson
Guest
 
Posts: n/a
Default Re: Track Banner Clicks

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" <PatrickRouse@discussions.microsoft.com> wrote in message
news:5B3221EB-DBEB-45D8-9373-9D2D1E376C24@microsoft.com...[color=blue]
> 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[/color]


  #3  
Old December 15th, 2005, 09:55 PM
Patrick Rouse
Guest
 
Posts: n/a
Default Re: Track Banner Clicks

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:
[color=blue]
> 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" <PatrickRouse@discussions.microsoft.com> wrote in message
> news:5B3221EB-DBEB-45D8-9373-9D2D1E376C24@microsoft.com...[color=green]
> > 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[/color]
>
>
>[/color]
  #4  
Old December 16th, 2005, 01:26 AM
Larry Randolf
Guest
 
Posts: n/a
Default Re: Track Banner Clicks

search aspin.com plenty of articles and code snippets on tracking there


"Patrick Rouse" <PatrickRouse@discussions.microsoft.com> wrote in message
news:642DCE61-C2B5-482C-8D12-CB637A0E2DB5@microsoft.com...[color=blue]
> 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:
>[color=green]
>> 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" <PatrickRouse@discussions.microsoft.com> wrote in message
>> news:5B3221EB-DBEB-45D8-9373-9D2D1E376C24@microsoft.com...[color=darkred]
>> > 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[/color]
>>
>>
>>[/color][/color]


  #5  
Old December 16th, 2005, 01:26 AM
Patrick Rouse
Guest
 
Posts: n/a
Default Re: Track Banner Clicks

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


"Larry Randolf" wrote:
[color=blue]
> search aspin.com plenty of articles and code snippets on tracking there
>
>
> "Patrick Rouse" <PatrickRouse@discussions.microsoft.com> wrote in message
> news:642DCE61-C2B5-482C-8D12-CB637A0E2DB5@microsoft.com...[color=green]
> > 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:
> >[color=darkred]
> >> 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" <PatrickRouse@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
> >>
> >>
> >>[/color][/color]
>
>
>[/color]
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles