track users clicks? kind of like BlogExplosion.com

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
LinuxMaster
Forum Newbie
Posts: 5
Joined: Tue Jun 27, 2006 10:11 am

track users clicks? kind of like BlogExplosion.com

Post 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.
LinuxMaster
Forum Newbie
Posts: 5
Joined: Tue Jun 27, 2006 10:11 am

Post 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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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).
LinuxMaster
Forum Newbie
Posts: 5
Joined: Tue Jun 27, 2006 10:11 am

Post 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?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
Post Reply