Page 1 of 1

track users clicks? kind of like BlogExplosion.com

Posted: Tue Jun 27, 2006 12:30 pm
by LinuxMaster
BlogExplosion has an iframe(i think) that it opens up another page in, and then it tracks that you visited that website and you click their little control panel at the top to visit the next site. I need to be able to have similiar, but track that the user is clicking on a specific link(such as any link on that page that brings you to a subpage of google.com).

I come from a C and Bash background. Basically I need to be sure my "users" are visiting a specific list of pages(defined by me), record that they went to it, and clicked a certain link on it(such as an affiliate link, or advertisement). They would be doing this willingly, and I'm not willing to use any type of honor system.

I would appreciate any insight or functions that you think I should look into. Any and all information is GREATLY appreciated.

Posted: Tue Jun 27, 2006 1:12 pm
by LinuxMaster
I've done some research but I have a question now.

Can I track OnClick's or MouseOver's on an external iframed page? What can I do? What can't I do?

If I wanted to make sure every iframed page was being left via a link to say any subpage of yahoo.com or google.com. What should I research for this?

Suggestions please.


EDIT: remember, external page meaning not mine. i.e http://www.devnetwork.net and I want to track if they leave to google.com.

Posted: Tue Jun 27, 2006 1:19 pm
by RobertGonzalez
AJAX. In order to capture what a client is doing, you need an interface to tell the server what and how much to track (unless you do all your capturing inside of JavaScript).

Posted: Tue Jun 27, 2006 1:24 pm
by LinuxMaster
I've been looking into DOM and AJAX. Give me more to research, just keep pushing me in the right direction! :)

EDIT: What do you think about using ActiveX for something like this? Waste of time? It this task too simple to waste time learning ActiveX for?

Posted: Tue Jun 27, 2006 1:29 pm
by RobertGonzalez
Personally, I've never been a fan of it. I like to keep things as simple as I can. AJAX, DOM, PHP are all fairly simple and seamless to the user.