PDA

View Full Version : Where do I put code for my website tracking?


SKiZZ
07-10-2006, 01:23 PM
Since I recently added Subdreamer to my website. I am now able to offer more content and options for my Invision forum users. I originally had Stat Counter embedded into my IPB footer. I could track the number of hits and where people where going and coming with it. Where could I add this code so that users are tracked throughout the website now? Index.php or the skin css? I don't know and would like some help. Thanks.

jenniferray
07-12-2006, 02:22 PM
I too would like to know this as well. I have a counter that needs to be inbedded in above the <body>

Jennifer

72dpi
07-12-2006, 02:41 PM
You should be able to put it into your Skin.

skins > nameofyourskin > skinyou_use.php

Hope this helps/
....

kushaaal
07-12-2006, 03:22 PM
I have google analyalitics and had put in all the designs of forums.php just above the </body>

Brent
07-12-2006, 03:35 PM
I use google analytics/sitemap, awstats, and an old version clicktracker(plugin for subdreamer that was available some time ago)

Someday I would I like to see a good statistic system built into the subdreamer core.

Pyromanci
12-07-2006, 07:23 PM
You should be able to put it into your Skin.

skins > nameofyourskin > skinyou_use.php

Hope this helps/
....

The problem is unless your using the friendly urls a standard traffic analyst program is almost pointless. I gave it a shot with webalizer and and some other ones. All of them recorded index.php, nothing else.

Then when i turned on friendly urls that was a different story. It record the categories and everything instead just adding hits to index.php.

Though maybe i make a mod to track traffic to be built into the core. What features would you like to see? The standard page hits, unquie vist counts, technolgy based stats, offsite reffers?

Brent
12-08-2006, 01:59 AM
What about something like psistats / vbstats but for Subdreamer.

See features here:
http://www.vbulletin.org/forum/showthread.php?t=127980

Example Tracking:
General Board Statistics
Top Pages & Top articles & Downloads & Images
Display Colors + Resolutions Statistics
Countries + Regions Statistics
Browsers + Operating Systems Statistics
Referring Sites StatisticsExample Features:
SD plugin
Statistics are updated on the fly or by cron would be fine.
Mother site / site domain, will never be listed as a referrer.
Limit exta database queries
Statistics can be sorted
Configurable list of usergroups that can access statistics (optional). such as potential ad clients

Pyromanci
12-08-2006, 03:23 AM
i wasn't een going to make it work with the database. Cuase that could just cuase lag issues.

Now i have a stat program i have been working on. I will use that and work out a code mod to intergrate it in and add some sorta tracking for plugins.

but here the features of the one i hae been working on:

General characteristics

required no database connectivity
ip recount time can be adjusted
exclude own visits by cookies
exclude fixed ip addresses
password protection
update notifier
different languages (german, english, dutch, italian)
design patterns completely outsourced to external CSS file
separate counter for your website
easy installation with manual
compressed logfile
configuration of the modules: turn on/off, count entries, percentage view, etc.
Statistic characteristics

tracking visitors (Javascript) with:
date, time, ip adress, browser, operating system, url, referer, resolution, color depth
Statistic-Module:
summery of:
count visitors total
count visitors today
count visitors yesterday
count visitors this month
count visitors last month
maximum
daily average
count hits/page impressions
average hits/page impressions
last visitors by day interval
detailed stat for days/months
hour, day, weekday, month, year
country code by the ip adress
visited url
referer
search engine and keywords
browser
operating system
resolution
color depthSo give me a few days and i will have somthing hopfully.

SKiZZ
12-08-2006, 05:52 PM
Sounds good to me.

Brent
12-08-2006, 07:11 PM
Sounds great over here.

Pyromanci
12-11-2006, 03:53 PM
ok, the place where I had my been getting my geo ip information for the original tracker system I made went bottom up. So I had to switch over. Now the system is using MaxMinds GeoLite Country Binary system.

I have to finish the integration and verify somethings and it will be ready to go. If some of the verification tests fail I may have to rewrite the geo ip system again for it, but will cross that road when and if I come to it.

I am trying to make it all OS/host compatible as possible and 100% working right out the gate.

RandomNinjaAtk
12-11-2006, 07:38 PM
You could just use this easy mod plugin to help make your other mods to skins easier.

http://www.subdreamer.org/forum/showthread.php?t=1759