Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Webspace, E-Mail & Browsing Issues (https://www.cableforum.uk/board/forumdisplay.php?f=80)
-   -   website stats (https://www.cableforum.uk/board/showthread.php?t=21711)

ikthius 21-12-2004 09:30

website stats
 
Hey guys,

Say I use javascript, is there any way I can do my own counter, check IP addresses of visitors, check browser stats, and so on for my ntl webspace.

could I make a script up that checks this on load, and can save the info which I can check every so often.

I know this may be a long shot but |I had to ask.

ik

homealone 21-12-2004 11:03

Re: website stats
 
it may take a bit of reading to find what you want, but there are plenty of links to follow here

Bifta 21-12-2004 11:16

Re: website stats
 
Quote:

Originally Posted by ikthius
Hey guys,

Say I use javascript, is there any way I can do my own counter, check IP addresses of visitors, check browser stats, and so on for my ntl webspace.

could I make a script up that checks this on load, and can save the info which I can check every so often.

I know this may be a long shot but |I had to ask.

ik

Try this http://www.statcounter.com/ afaik it's hosted remotely and you only have a slap a bit of javascript on your site.

ikthius 21-12-2004 14:13

Re: website stats
 
I am learning javascript and I was wondering if NTL allow for this.

I was going to try and play around with my own, code as well as a companies code, the problem with companies is that they sometimes want adds on your site.

ik

iron25 21-12-2004 14:21

Re: website stats
 
Quote:

Originally Posted by ikthius
Hey guys,

Say I use javascript, is there any way I can do my own counter, check IP addresses of visitors, check browser stats, and so on for my ntl webspace.

could I make a script up that checks this on load, and can save the info which I can check every so often.

I know this may be a long shot but |I had to ask.

ik

With javascript you are able to capture the following information:

navigator.appCodeName = Mozilla
navigator.appName = Microsoft Internet Explorer
navigator.appMinorVersion = 0
navigator.cpuClass = x86
navigator.platform = Win32
navigator.plugins =
navigator.opsProfile =
navigator.userProfile =
navigator.systemLanguage = en-gb
navigator.userLanguage = en-gb
navigator.appVersion = 4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
navigator.userAgent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
navigator.onLine = true
navigator.cookieEnabled = true
navigator.mimeTypes =

To get the values ignore from the = onwards.

You can also get more information such as the screen size and number of colours. However, you will not be able to get the ip address using javascript and you will not be able to store this information to a file as you will not be able to write to the local hard disk.

As far as I am aware, ntl web space does not include any server side scripting and without this you can't do much. If they had server side scripting such as asp or php then you could do what you want very easily. I've never seen the point in messing about with isp's web space as you can't do much except display information.

The alternative is to host your website on your own webserver or do as Bifta suggest and use statcounter.

MikeyB 21-12-2004 14:40

Re: website stats
 
The problem with trying to do it with javascirpt is how to record the stats, as iron25 says, you cannot wite these out to a file on your server, the best you can do is write it to a cookie, but that stays on the visiotors computer, and would only count their own visit.
This is because javascript runs in the browser on the visitors computer, rather than on your web server.

You will need server side scripts to do a counter, ASP, PHP, Perl etc

ikthius 21-12-2004 18:57

Re: website stats
 
I signed up with StatCounter, and I have left it for a few hours, and this is a very good site.

I can get what I want, Ip addresses, countries, length of time on site, page visits, where people came from, computer stats, browser used, screen res, etc.

this is a very good site. rep fro you bifta, and nice avatar

ik

homealone 21-12-2004 20:30

Re: website stats
 
Quote:

Originally Posted by ikthius
I signed up with StatCounter, and I have left it for a few hours, and this is a very good site.

I can get what I want, Ip addresses, countries, length of time on site, page visits, where people came from, computer stats, browser used, screen res, etc.

this is a very good site. rep fro you bifta, and nice avatar

ik

thanks for the feedback, ik - you will know all about me now ;)

ikthius 21-12-2004 20:49

Re: website stats
 
Quote:

Originally Posted by homealone
thanks for the feedback, ik - you will know all about me now ;)

yip, I sent you a pm you are one of 2 people.

ik

aliferste 21-12-2004 21:47

Re: website stats
 
I use Statcounter for my site and it is great.

ikthius 21-12-2004 23:11

Re: website stats
 
yip, so happy with it today, that I may even put a link to their site on my web site for the fantastic service this is for free.

ik

ikthius 22-12-2004 09:04

Re: website stats
 
hey guys,

I have an entry in the statcounter that says the person comes from america, but it also shows britain, I am slightly confused, how can I find out where this person comes from?

I have the ip address, it is AOL.

ik


All times are GMT +1. The time now is 04:16.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum