Tracking two different types of users in Google Analytics?

We have a site with two types of users:

  • a guest
  • Registered Users

What we're looking for is a method for tracking both types of users in only one Google Analytics profile. We believe that the registered user stays on the site more and has a higher pageview rate, which is the guest.

Could this be possible in only one profile?
Could there be a way to show user reports on the profile page to show the average user time and average time for guests?

I know that Google Analytics is such a powerful application, but I am not a guru and I have not found anything on Google.

Thanks.

Bounty Update

I know this is related to filters. In your response, please provide the code and step-by-step instructions.

+7
statistics google-analytics
source share
3 answers

You can use custom variables in GA to track different types of users. Take a look at this example in GA docs for more information. http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html#examples

Here's how I do it:

  • When a user session begins, if the user is not a registered user, set the custom variable as follows:
    pageTracker._setCustomVar (
       1, // This custom var is set to slot # 1
       "User Type", // The name of the custom varaible
       "Guest", // Sets the value of "User Type" to "Guest" for non registered users
        2 // Sets the scope to session-level  
    );
    pageTracker._trackPageview (); 
  • After the user logs in, use the following code.
    pageTracker._setCustomVar (
       one,             
       "User Type",   
       "Registered User",
        2              
    );
    pageTracker._trackPageview (); 

You should now be able to see User Type as a custom variable in your reports.

Hope this helps.

+14
source share

what you will need to do is change the google script at the bottom of the page when it loads to show the state of this custom value.

Check back for more information. http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html

what I think you really want to do is more visitor user segmentation. http://code.google.com/apis/analytics/docs/tracking/gaTrackingVisitorSegments.html

+2
source share

Yes, of course it is possible in GA. You will need to specify a user variable on the page (for example, user_type, which is already the default custom variable in GA).

Then you can track, collapse and analyze this data, everything you like through GA. See the Visitors menu in GA, and the bottom of the sub-navigator is the Custom Variables section.

Greetings

Z

0
source share

All Articles