Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use Google Analytics to track single user account?

Tags:

I've got a website that needs user logged in before they can use, I want to track the behavior of each single user. Is it possible to do this? Any advice? Thanks very much!

like image 659
user483144 Avatar asked Oct 27 '10 07:10

user483144


People also ask

What you Cannot track with Google Analytics?

You can't track Individual users Unfortunately, Google Analytics only allows to use a unique user ID and prohibits sending personal information, username or an IP address. So you can't really see and understand how specific users behave on your site and get valuable data.

How does Google Analytics track revenue per user?

Sign in to Google Analytics.. Click Admin, and navigate to the view you want. In the VIEW column, click Calculated Metrics > NEW CALCULATED METRIC.

How do you track an individual?

Step 1: Launch the Playstore in any Android phone and install the app called 'Find My Device'. Step 2: Launch the app and enter the Google credentials of the phone that you wish to track. You will see the devices associated with that Google account. You can click on the device that you wish to track.


2 Answers

Yes this is possible.

The simplest way might be to define a Custom Variable scoped to the visitor, and bind it to the value equal to the (obfuscated) user's ID (the one you assigned them when they registered):

pageTracker._setCustomVar(1, "Registered TempID", "345X34RT", 1) 

The four arguments that you pass into a Custom Variable are: slot number (any integer 1 through 5, which won't change in this case; 'TempID' which is a variable name i chose for this variable; 'TempID', the value for that variable that maps to (but must not not personally identify or it will violate Google's Privacy Policy) a registered user; the final argument '1' is the scope, which i is '1' in this case because this variable is scoped to the visitor).

This new variable is sent to the GA server via a call to _trackPageview() so make sure you the custom variable is set before trackPageview() is called.

There are a several excellent resources, including step-by-step tutorials on GA Custom Variables, including a blog post by ROI Analytics, which is think is one of the best.

Once you've done to view this Custom Variable in the Google Analytics Web Client, go to the left-hand panel and click on the Visitor heading; the last item under this heading (and just before the next major heading which is Traffic Sources) you will see the Custom Variables subheading.

This is where you can view the data for the custom variables you set. For instance, the panel will look something like this:

alt text

like image 98
doug Avatar answered Sep 19 '22 12:09

doug


It is technically possible, but prohibited by the terms of service that you agreed to when you installed Google Analytics (you read, them, right?).

From: http://www.google.com/analytics/tos.html

7. PRIVACY . You will not (and will not allow any third party to) use the Service to track or collect personally identifiable information of Internet users, nor will You (or will You allow any third party to) associate any data gathered from Your website(s) (or such third parties' website(s)) with any personally identifying information from any source as part of Your use (or such third parties' use) of the Service. You will have and abide by an appropriate privacy policy and will comply with all applicable laws relating to the collection of information from visitors to Your websites. You must post a privacy policy and that policy must provide notice of your use of a cookie that collects anonymous traffic data.

Seems pretty clear.

like image 40
mooreds Avatar answered Sep 17 '22 12:09

mooreds