![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2003
Posts: 819
|
Programmers: Counting outgoing link hits
I was wondering if anyone can give me info on how scripts are tracking outgoing hits and not using links like
http://www.yoursite.com/out.php?id=77 or http://www.yoursite.com/out.php?site=goto.com I'd like to be able to track what link was hit along with the ip address of the surfer. Any help or providing links with info would be greatly appreciated ![]()
__________________
hello |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Oct 2007
Posts: 1,448
|
That's pretty much the only solid way to do it. You could always use mod_rewrite to clean up the links, so for example, you'd have:
http://www.domain.com/go/3425 Other way would be to add an onClick statement to your <a href> tags. For example: <a href="http://www.somesite.com/" onclick="trackHit(34);"> Then have a Javascript function name trackHit() that sends a quick AJAX request to track the click.
__________________
xMarkPro -- Ultimate Blog Network Management Streamline your marketing operations. Centralize management of domains, pages, Wordpress blogs, sponsors, link codes, media items, sales and traffic statistics, plus more! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Aug 2002
Location: Sydney, Australia
Posts: 6,103
|
Check out TALS
www.bigdotmedia.com/tals.php
__________________
--- |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
|
I track the last IP that hit a link, if the person hitting the link matches that last IP it doesn't count it, if it's the same IP that clicked it last time it does nothing. It's an extremely simple method but my stats almost always mimic google analytics.
|
![]() |
![]() ![]() ![]() ![]() ![]() |