Templating methods for rendering the analytics.js snippet.