Adding classes to cache google analytic statistics so we do not have to retrieve them each time the page is loaded.