homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: DixonJones & mademetop

Website Analytics - Tracking and Logging Forum

What is the best way to track 'back' button clicks?

5+ Year Member

Msg#: 4354008 posted 7:21 pm on Aug 21, 2011 (gmt 0)

It seems there are several ways of doing this and I was hoping for some input from people who have already done this.

I want to write a simple tracking script/plugin for a wordpress-based site that will track a user's referrer (including keywords used when the referrer is a SE) and then record whether they leave the page via the back button. I want to implement this in a way that is completely transparent to the user and doesn't trigger any browser security alarms.

My hope is to get some metrics together that can help me determine the usefulness of the content on each page. If I can see that I'm getting traffic to a certain page for appropriate keywords, but users are leaving and returning to the SERPS then I can make a more educated decision about how well that page satisfies their search.

So far JS seems to be the easiest way, but would require some less than desirable page design (iframes). It looks like it could also be done with redirects but this seems risky to me from a SE perspective. Had anyone figured this out?



WebmasterWorld Senior Member 10+ Year Member

Msg#: 4354008 posted 11:12 am on Aug 22, 2011 (gmt 0)

couldn't you use the bounce rate offered by google analytics?
when there is no way out of your page (to external sites) except for the back button or the address bar, then thi sshould be highly accurate.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved