I'm in the process of setting up a secure section of a website that is only accessible to registered users. I'm assuming that the supplied Google Analytics code (in javascript) that is placed on each page will only show how often a certain page is visited, etc., but I need to track logged in users within this section. I'd like to track simple data, such as how often they login, how long they stay, and what and where they click (there will be some PDFs to download). Can anyone explain what steps I need to take to make this happen?
Is it as simple as passing the userid through all the links within this secure section of the website? (Perhaps it would look like this for the secure section: secure_content.php?page=form1&userid=3)
My site is setup as 2 main pages: main content and secure content and each page passes the linkid through that particular page. In other words, if there are 2 links on the main content site (for all users), each link is setup as follows:
main_content.php?page=link1 and main_content.php?page=link2
Thanks in advance for your help.