From cffae285561657bb77948999410b6c4a92dcf316 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 2 Jun 2022 11:51:03 -0500 Subject: [PATCH] Website: add Rollbar script (#6058) --- website/views/layouts/layout-customer.ejs | 14 ++++++++++++++ website/views/layouts/layout-landing.ejs | 14 ++++++++++++++ website/views/layouts/layout.ejs | 15 ++++++++++++++- 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/website/views/layouts/layout-customer.ejs b/website/views/layouts/layout-customer.ejs index c565c9b4a6..9b55c0597c 100644 --- a/website/views/layouts/layout-customer.ejs +++ b/website/views/layouts/layout-customer.ejs @@ -26,6 +26,20 @@ <% /* Certain scripts, normally analytics tools like Google Tag Manager and Google Analytics, should only be included in production: */ if (sails.config.environment === 'production') { %> + <% /* Rollbar */%> + <% /* Google Analytics, Google Tag Manager, etc. */ %> diff --git a/website/views/layouts/layout-landing.ejs b/website/views/layouts/layout-landing.ejs index 4bcc793008..5f7139cbaf 100644 --- a/website/views/layouts/layout-landing.ejs +++ b/website/views/layouts/layout-landing.ejs @@ -26,6 +26,20 @@ <% /* Certain scripts, normally analytics tools like Google Tag Manager and Google Analytics, should only be included in production: */ if (sails.config.environment === 'production') { %> + <% /* Rollbar */%> + <% /* Google Analytics, Google Tag Manager, etc. */ %> diff --git a/website/views/layouts/layout.ejs b/website/views/layouts/layout.ejs index 6df45c9acf..1a48259b17 100644 --- a/website/views/layouts/layout.ejs +++ b/website/views/layouts/layout.ejs @@ -23,10 +23,23 @@ Google Fonts, etc. - above the «body» to prevent the page flickering when fonts load.) */ %> - <% /* Certain scripts, normally analytics tools like Google Tag Manager and Google Analytics, should only be included in production: */ if (sails.config.environment === 'production') { %> + <% /* Rollbar */%> + <% /* Google Analytics, Google Tag Manager, Snitcher etc. */ %>