website tracker

ReadAllAboutIT - Read All About Information Technology - Statcounter and Snitz?
ReadAllAboutIT - Read All About Information Technology
ReadAllAboutIT - Read All About Information Technology
Home | Profile | Register | Active Topics | Members | Search | FAQ | Email Hosting by sircles
Username:
Password:
Save Password
 All Forums
 The Internet and Cloud Computing
 Statistics
 Statcounter and Snitz?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic   

Coops
Starting Member

United Arab Emirates
10 Posts

Posted - 01 August 2006 :  5:30:26 PM  Show Profile  Reply with Quote
Does anyone know how to get statcounter to work on ASP? Everything I try just seems to stop the whole site working.

Edited by - Coops on 01 August 2006 5:45:57 PM

geek
New Member

United Kingdom
84 Posts

Posted - 01 August 2006 :  5:31:25 PM  Show Profile  Reply with Quote
Definitely! - you just need to be sure that the statcounter html code is outputted with the rest of the html of the page.

you can usually use a simple include that will work on all pages instantly.

http://orangecow.com

Edited by - geek on 01 August 2006 5:48:03 PM
Go to Top of Page

Coops
Starting Member

United Arab Emirates
10 Posts

Posted - 01 August 2006 :  5:32:16 PM  Show Profile  Reply with Quote
Thanks for the reply, although I have not made many changes to the forum and am not sure how to use an "include", or exactly sure what it is. Where it is placed and what would the code would look like? I would appreciate an example

Edited by - Coops on 01 August 2006 5:48:56 PM
Go to Top of Page

sircles.net Support
Administrator

United Kingdom
129 Posts

Posted - 01 August 2006 :  5:33:53 PM  Show Profile  Visit sircles.net Support's Homepage  Reply with Quote
The includes in Snitz have inc_ as the beginning of the file name. I think what geek means is that if you find the right inc_*** file it will be read at every page and you will not have to add the code to each page.The inc_header.asp page (I believe that there is one) would be a good bet, to make your own include, you must include it in a statement like:

<!--#include virtual="somefilename"--> or <!--#include file ="somefilename"-->

Have a look here: http://www.w3schools.com/asp/asp_incfiles.asp

Save your HTML file in a file called counter.htm or something and then add <!--#include virtual="counter.htm"--> to inc_header.asp and see what happens. I added it just after the first include which reads:

<!--#INCLUDE FILE="inc_func_common.asp" -->

so just copy that one and replace with ="counter.htm" or whatever your filename is.

(Seems to work for me using the inc_header.asp page, although you will need to stick to the titles of pages in statcounter or everything just comes up as forum.asp?276382756 or something.)

sircles.net
Technical Support
Support@sircles.net
T: 0118 323 1686
F: 0871 994 3183
http://sircles.net
All information is freely posted by the support staff and sircles.net cannot be held responsible for any use of such information.
All rights reserved, sircles.net limited 2006.
Go to Top of Page
  Previous Topic Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
ReadAllAboutIT - Read All About Information Technology © sircles.net Limited Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.05