Add the option to specify analytics code to inject into the template.