Dev Request: Dev Request - GTM Container Code for SimpleMDM Help Center

Status: In Dev Queue
Last updated: November 16, 2022 11:53 AM MST
Originally delivered at: November 16, 2022 5:00 PM MST

Instructions

Description

The SimpleMDM Help Center is simplemdm.zendesk.com and will become simplemdm.pdq.com in the future. A new GTM container has been created in order to add tracking to these pages.

Instructions

Place this code as high in the head of the page as possible. It is a bit convoluted, but note that this script is async=true and hence not blocking.

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5JSJMLP');</script>
<!-- End Google Tag Manager -->