From 4510cb2bc8a7ae05ee661d5d94b2cd011293880b Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 29 Mar 2023 13:20:26 -0500 Subject: [PATCH] Website: Add HubSpot script tag to layouts (#10863) Changes: - Added a HubSpot script tag to fleetdm.com . --- website/views/layouts/layout-customer.ejs | 2 ++ website/views/layouts/layout-landing.ejs | 2 ++ website/views/layouts/layout-sandbox.ejs | 2 ++ website/views/layouts/layout.ejs | 2 ++ 4 files changed, 8 insertions(+) diff --git a/website/views/layouts/layout-customer.ejs b/website/views/layouts/layout-customer.ejs index 221ef1d4ee..5af0df869c 100644 --- a/website/views/layouts/layout-customer.ejs +++ b/website/views/layouts/layout-customer.ejs @@ -99,6 +99,8 @@ a.parentNode.insertBefore(r,a)}(window,document,'ip2c','script'); ip2c('verify', '8416878'); + <% /* HubSpot Embed 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-landing.ejs b/website/views/layouts/layout-landing.ejs index 2bfb86dbc7..171c810557 100644 --- a/website/views/layouts/layout-landing.ejs +++ b/website/views/layouts/layout-landing.ejs @@ -99,6 +99,8 @@ a.parentNode.insertBefore(r,a)}(window,document,'ip2c','script'); ip2c('verify', '8416878'); + <% /* HubSpot Embed Code */ %> + <% } /* Otherwise, any such scripts are excluded, and we instead inject a diff --git a/website/views/layouts/layout-sandbox.ejs b/website/views/layouts/layout-sandbox.ejs index 53b2a1e313..da20e07a36 100644 --- a/website/views/layouts/layout-sandbox.ejs +++ b/website/views/layouts/layout-sandbox.ejs @@ -100,6 +100,8 @@ a.parentNode.insertBefore(r,a)}(window,document,'ip2c','script'); ip2c('verify', '8416878'); + <% /* HubSpot Embed 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 f0e3b1dd1b..e591226f3d 100644 --- a/website/views/layouts/layout.ejs +++ b/website/views/layouts/layout.ejs @@ -101,6 +101,8 @@ a.parentNode.insertBefore(r,a)}(window,document,'ip2c','script'); ip2c('verify', '8416878'); + <% /* HubSpot Embed 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. */