homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: DixonJones & mademetop

Website Analytics - Tracking and Logging Forum

SetVar causing 99.37% bounce rate
A rather advanced topic - glad if you could help

5+ Year Member

Msg#: 4038069 posted 8:28 am on Dec 6, 2009 (gmt 0)


I've implemented the following in a site:

Whenever a user is logged in, and views a page, I call:

Whenever a user is not logged in and views a page, I call

Then, I've created a separate analytics profile, where I've created the following custom filter:
Exclude Filter Field: User Defined
Filter Pattern: Anonymouse
Case sensitive: No

Result? much less traffic, 99.37% bounce rate, 8 seconds avg. time per visit. I KNOW that this data isn't true.

Could it be that calling _setvar in every page causes this? Any other ideas?
Any help would be highly appreciated. Thanks!



5+ Year Member

Msg#: 4038069 posted 9:49 am on Dec 6, 2009 (gmt 0)

Yes, calling _setvar on every page is causing problems. I'm a bit perplexed as to why you're seeing such a high bounce rate, but it doesn't surprise me.

Basically, _setvar should only be used to set things that you're pretty sure won't be changing too often; say whether the visitor prefers coke or pepsi. The _setvar cookie lasts a long time (last time I checked it was two years, but may be less now) and in terms of how the data is shown in the reports, I'm pretty sure only the first one during a vistor's session counts. I'm actually surprised you're seeing many visits at all in the profile you created; I would expect most of your visits to show up as Anonymouse, as most people are until they log in.

If you're really curious as to what members are doing on your site, I would write some custom javascript to check whether the member was logged in or not, and then append that to the URL that gets reported to Google Analytics. So your reports would say something like:


then you could create a filter to just include page URL's that started with /Anonymouse or /Member.


5+ Year Member

Msg#: 4038069 posted 1:31 pm on Dec 7, 2009 (gmt 0)

Wow, that was helpful! Thank you very much. I'll try this and let you know what the results are..

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