From 241982ac80cadf4a2da6e43d55576cebf2dad1cb Mon Sep 17 00:00:00 2001 From: Andrew Baker <89049099+DrewBakerfdm@users.noreply.github.com> Date: Tue, 14 Feb 2023 14:19:34 -0500 Subject: [PATCH] Add GTM (#9822) Adding Google Tag Manager code snippet. Google Tag Manager changes will be reviewed by @eashaw before publishing to the website. Please feel free to push these changes once we've planned to properly incorporate GTM(Google Tag Manager) and set up a consensus for events, analytics, and review. We can keep the old analytics custom events (Global site tag (gtag.js) snippet) as they're important with SalesForce lead sources. We will need to edit these going forward, but incorporating GTM should make that process much easier. Once we've transitioned fully to GTM, we can remove the gtag.js snippet as it could live inside Google Tag Manager. # Checklist for submitter If some of the following don't apply, delete the relevant line. - [ ] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or docs/Contributing/API-for-contributors.md) - [ ] Documented any permissions changes - [ ] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for new osquery data ingestion features. - [ ] Added/updated tests - [ ] Manual QA for all new/changed functionality - For Orbit and Fleet Desktop changes: - [ ] Manual QA must be performed in the three main OSs, macOS, Windows and Linux. - [ ] Auto-update manual QA, from released version of component to new version (see [tools/tuf/test](../tools/tuf/test/README.md)). --------- Co-authored-by: Eric --- website/views/layouts/layout-customer.ejs | 15 +++++++++++++++ website/views/layouts/layout-landing.ejs | 15 +++++++++++++++ website/views/layouts/layout-sandbox.ejs | 15 +++++++++++++++ website/views/layouts/layout.ejs | 15 +++++++++++++++ 4 files changed, 60 insertions(+) diff --git a/website/views/layouts/layout-customer.ejs b/website/views/layouts/layout-customer.ejs index 2e4a468c6d..99cb100d8a 100644 --- a/website/views/layouts/layout-customer.ejs +++ b/website/views/layouts/layout-customer.ejs @@ -49,6 +49,15 @@ + + + <%/* Meta pixel code */%> + + + <%/* Meta pixel code */%> + + + <%/* Meta pixel code */%> + + + <%/* Meta pixel code */%>