MetaSun : Website Stats

 
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials
View previous topic :: View next topic  

Was this guide useful?
Yes!
46%
 46%  [ 7 ]
Err...Kind of..
20%
 20%  [ 3 ]
Nope...I've written better on the back of bog roll!
33%
 33%  [ 5 ]
Total Votes : 15

Author Message
Dave
-


Joined: 11 Feb 2003
Posts: 184
Location: United Kingdom

PostPosted: Sun Mar 16, 2003 11:56 am    Post subject: MetaSun : Website Stats Reply with quote

Whilst the abyss stats in the control pannel is ample for many people, there are those of us who just want more, or dont want to give out control pannel access ;) This tutorial will walk you through setting up Metasun's Stats software avaliable at the following link:http://www.metasun.com/

Requirements:
ASP - ActiveHTML

Installing
1: Download the stats package from http://www.metasun.com/
2: Extract the contents of the zip file to: /Stats/ in your htdocs folder, so all the files are in the /stats/ directory.
3: Open Config.asp in your favourite text editor, do not use Frontpage for this!
4: Adjust Config.asp as below:

Lines 30/31 dont need to be edited, however if you want to protect the stats adjust them so that between the two "" is your password.
strUsername = ""
strPassword = ""


Line 39 Needs to be edited to reflect your address, as follows:
strSiteAliases = "127.0.0.1"
or, if you run a domain off Abyss adjust it to:
strSiteAliases = "MyDomain.com"

Line 44 can be left as is, so it reads:
strExcludeIPFromLog= ""
Of course, you may decide to make use of the IP ignore feature, in which case you'd enter:
strExcludeIPFromLog= "127.0.0.1,myotherip,andanotherip"

Line 58 can also be left as is, to show graph for the data leave as is, otherwise use:
blnShowGraph = flase

Leave lines 63/69/74/81/87 as is...

Line 93 should be changed to reflect the path where we installed metatraffic , so, in our case:
strDatabaseLocation = "/Stats"

Line 111 should alos be left as is.

Now, Save your file and read on about "Tracking your website" ;)


Tracking your website
Now, to track your actual files, you'll need to add the following to the top of any file to be tracked.

For ASP Files:
<% Server.Execute("/Stats/track.asp") %>

For Other files, NOT ASP files:
You'll need to open track.js in your favorite text editor and change Line 21 to read:
var scriptlocation = "/Stats/track.asp";
Sace the file and add the following to any HTML etc... file to be tracked...
<SCRIPT LANGUAGE="JavaScript" SRC="/metatraffic/track.js"></SCRIPT>
_________________
Any information contained herein is provided in "as is" condition without any guarantee for its accuracy, contains no warrantees - express or implied - and confers no rights.
X1 1.1.4: http://www.aprelium.com/news/abwsx1u1.html


Last edited by Dave on Mon Mar 31, 2003 5:01 pm; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website
Dave
-


Joined: 11 Feb 2003
Posts: 184
Location: United Kingdom

PostPosted: Mon Mar 31, 2003 4:47 pm    Post subject: Reply with quote

Is this guide just so superior no-one has had a problem with it? :), or does nobody use ASP :(
_________________
Any information contained herein is provided in "as is" condition without any guarantee for its accuracy, contains no warrantees - express or implied - and confers no rights.
X1 1.1.4: http://www.aprelium.com/news/abwsx1u1.html
Back to top View user's profile Send private message Visit poster's website
vbgunz
-


Joined: 02 Feb 2003
Posts: 615
Location: Florida

PostPosted: Mon Mar 31, 2003 4:50 pm    Post subject: Reply with quote

Can you add a poll now that its done? :D
_________________
Victor B. Gonzalez
http://aeonserv.com
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Dave
-


Joined: 11 Feb 2003
Posts: 184
Location: United Kingdom

PostPosted: Mon Mar 31, 2003 5:02 pm    Post subject: Reply with quote

Yep, Poll added.
_________________
Any information contained herein is provided in "as is" condition without any guarantee for its accuracy, contains no warrantees - express or implied - and confers no rights.
X1 1.1.4: http://www.aprelium.com/news/abwsx1u1.html
Back to top View user's profile Send private message Visit poster's website
crazymazey
-


Joined: 22 Sep 2003
Posts: 35

PostPosted: Sun Nov 02, 2003 5:13 pm    Post subject: help Reply with quote

how do you get this to work using mysql database

the reason i ask is because i can't get it to work using this tutorial

i don't use msaccess

i got the page up but it does not show any stats it says the database is empty
_________________
Back to top View user's profile Send private message Send e-mail Visit poster's website
blast1102
-


Joined: 27 May 2004
Posts: 6
Location: England

PostPosted: Wed Aug 04, 2004 5:03 pm    Post subject: Empty DB Reply with quote

Is this a typo

<SCRIPT LANGUAGE="JavaScript" SRC="/metatraffic/track.js"></SCRIPT>

Either way no joy, I have tried it with /stats and with metatraffic. I just get an empty DB.

Update if I type /stats/track.asp in to the address bar I get a DB entry, so it is not a permision problem with the DB.
_________________
Tom
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group