Include analytics in template