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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-08-2011, 11:25 PM   #1
DirtyRider
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
DirtyRider is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2011, 11:55 PM   #2
Kiopa_Matt
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!
Kiopa_Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2011, 01:31 AM   #3
Zorgman
Confirmed User
 
Zorgman's Avatar
 
Join Date: Aug 2002
Location: Sydney, Australia
Posts: 6,103
Check out TALS
www.bigdotmedia.com/tals.php
__________________
---
Zorgman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2011, 01:50 AM   #4
Jakez
Confirmed User
 
Jakez's Avatar
 
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.
__________________
[email protected] - jakezdumb - 573689400

Killuminati
Jakez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.