This tutorial shows you how to log user activity for users on your website, where they go on your website, how they got there, how long they stayed, ip, which pages they used most and so forth. It requires you to already have cakephp installed. CakePHP is a popular PHP framework.