473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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
Dec 15 '05 #1
4 1942
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" <Pa**********@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.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

Dec 15 '05 #2
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" <Pa**********@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.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


Dec 15 '05 #3
search aspin.com plenty of articles and code snippets on tracking there
"Patrick Rouse" <Pa**********@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.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" <Pa**********@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.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


Dec 16 '05 #4
Thanks Larry. :)
--
Patrick Rouse
Microsoft MVP - Terminal Server
http://www.sessioncomputing.com
"Larry Randolf" wrote:
search aspin.com plenty of articles and code snippets on tracking there
"Patrick Rouse" <Pa**********@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.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" <Pa**********@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.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


Dec 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Derek | last post by:
I have some third party sponsor banners on my website and since installing the entire page pauses loading then displays the whole page. It seems that the page is waiting on the banners. Is there a...
5
by: | last post by:
(subject included - apologies) <jason@catamaranco.com> wrote in message news:... > Is there a simple way to track users leaving our site to vendors whose wares > we have advertised as a banner...
4
by: Ian Hubling | last post by:
I'm trying to complete a rotating banner ad within a page I have. The rotating add has four images that rotate in three-second increments. I've got the images to rotate ok - but now I want to go...
3
by: | last post by:
I want a banner to appear at the bottom of each page of a web app. I created a user control that describes the banner and have it placed in all my pages. For the most part it functions as needed....
2
by: sgMuser | last post by:
Hi, I am not a good developer of Javascript codes. Needs this help to make some modification to this famous free javascript from Anarchos. i am using this in one of my webpage. What it does is,...
13
Death Slaught
by: Death Slaught | last post by:
I have my entire page in my "main" div. div.main { width: 100%; height: 100%; border: 1px solid gray; } on the left of the page I have a banner.
0
by: jasone | last post by:
Hey guys, im creating a website that will be mostly powered by php. I will start by giving you some backgroound: I want the website to be totally dependant, so the user can update it all...
10
by: Yohann L. | last post by:
Hello. I would like to have an horizontal banner which autoadjust its width to 100% of the page width. So, I've sliced the image banner in three parts, but don't find a way to do the middle one...
1
AMT India
by: AMT India | last post by:
How can I get the page impressions and clicks? Regards, AMTIndia
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.