Dev Request: Dev Request - GTM Container Code for SmartDeploy Support 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

A new GTM container has been created in order to add tracking to the SmartDeploy Support Center. The code snippet below should be added to all pages at support.smartdeploy.com (and should also be included on all pages of the support center site when it is migrated to Zendesk in the future).

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-MKKBTBT');</script>
<!-- End Google Tag Manager -->