diff --git a/website/views/layouts/layout.ejs b/website/views/layouts/layout.ejs index c138b6b7ca..1de6c10469 100644 --- a/website/views/layouts/layout.ejs +++ b/website/views/layouts/layout.ejs @@ -140,13 +140,6 @@ a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); - <% /* ActiveCampaign */ %> - <% } /* Otherwise, any such scripts are excluded, and we instead inject a robots/noindex meta tag to help prevent any unwanted visits from search engines. */ @@ -1114,5 +1107,14 @@ } }); + <% if (sails.config.environment === 'production') { %> + <% /* ActiveCampaign */ %> + + <% } %>