Adding home page view event logging to analytics lib