Closed (fixed)
Project:
Google Analytics
Version:
5.x-1.9
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2009 at 19:34 UTC
Updated:
28 Aug 2009 at 19:50 UTC
I'd like to be able to view Google Analytics reports segmented by taxonomy terms assigned to nodes. Is this possible? I know if it can be done it would probably involve putting a javascript snippet into the Google Analytics configuration page, but I'm not sure what should be in that snippet.
User type would be helpful, too. I'm guessing both of these would be echoed PHP variables within the javascript snippet?
Thanks for any pointers....
Comments
Comment #1
hass commentedToday there may be no real good solution. You need to build you own submodule and hook into the ga footer with a regex... than you are able to alter the generated code. For easier "hooking" we need #231451: Add hook to alter data before sending it to browser... nevertheless it's not that easy.
The module makes use of many API functions and GA doesn't allow us to use them in different ways without cluttering the statistics... maybe you can build something with event tracking logic. I'm not sure if user segmentation can work here... I think it could only work if you don't use profile tracking and use the CustomVar only for your special need. The custom vars are very exclusive as I know and we are not able to share it between different functionality. I never used this myself... so I cannot really help.
If you have something ready I would be happy to take a look if it can be re-used in a general manner.
Comment #3
introfini commentedYou can do that with event tracking. But that will mess the bounce rate because if an event is fired on every page view it will prevent Google Analytics from detecting a bounce.
introfini