diff --git a/website/views/layouts/layout-customer.ejs b/website/views/layouts/layout-customer.ejs index 9f48fc78ae..2c6e78bb8e 100644 --- a/website/views/layouts/layout-customer.ejs +++ b/website/views/layouts/layout-customer.ejs @@ -31,6 +31,15 @@ + <%/* Snitcher analytics code */%> + <% } /* Otherwise, any such scripts are excluded, and we instead inject a robots/noindex meta tag to help prevent any unwanted visits from search engines. */ diff --git a/website/views/layouts/layout.ejs b/website/views/layouts/layout.ejs index 9238ae7cbd..6d2b2a7517 100644 --- a/website/views/layouts/layout.ejs +++ b/website/views/layouts/layout.ejs @@ -27,10 +27,19 @@ <% /* Certain scripts, normally analytics tools like Google Tag Manager and Google Analytics, should only be included in production: */ if (sails.config.environment === 'production') { %> - <% /* Google Analytics, Google Tag Manager, etc. */ %> + <% /* Google Analytics, Google Tag Manager, Snitcher etc. */ %> + <%/* Snitcher analytics code */%> + <% } /* Otherwise, any such scripts are excluded, and we instead inject a robots/noindex meta tag to help prevent any unwanted visits from search engines. */