Added analytics to the base template.