Added analytics to main page