This is my attempt to track user actions on a page and analyze the data