From c36bf38f46f9ca00d58f352196b52f65c047b91d Mon Sep 17 00:00:00 2001 From: eashaw Date: Tue, 11 Jan 2022 10:34:56 -0600 Subject: [PATCH] Add Snitcher trial script tag to fleetdm.com (#3628) * add script tag to * add script to customer layout --- website/views/layouts/layout-customer.ejs | 9 +++++++++ website/views/layouts/layout.ejs | 11 ++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) 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. */