added commented code for Google analytics events