Here's quick tip for GA. Ever wanted a break down of user activity based on user type or even user id?
You can add any type of custom variable to each google page load.
You can then view the break down using custom reports or just browse through your dash board.
Read more ... http://code.google.com/apis/analytics/docs/gaJS/gaJSApiBasicConfiguration.html#_gat.GA_Tracker_._setCustomVar
You can add any type of custom variable to each google page load.
You can then view the break down using custom reports or just browse through your dash board.
Read more ... http://code.google.com/apis/analytics/docs/gaJS/gaJSApiBasicConfiguration.html#_gat.GA_Tracker_._setCustomVar
If you used this on JOOMLA site you can just use JFACTORY to get the current user data like user type, user name etc. and then send it to GA with each page.
Make sure you set the varaible scope! but you can read all about that in the API
Make sure you set the varaible scope! but you can read all about that in the API
try {
var pageTracker = _gat._getTracker("UA-XXXXXXX");
/**Begin custom**/
ffGaUserIdTrackedSuccess = pageTracker._setCustomVar( 1, "UserId", ffGaUserId , 1 );
console.log("Return value for _setCustomVar using " + ffGaUserId + " is " + ffGaUserIdTrackedSuccess);
/**END custom**/
pageTracker._trackPageview();
} catch(err) {}
No comments:
Post a Comment