Brightspot Integrations Guide

Accessing Google Tag Manager code snippet


Tip
This procedure is also described in Setup and install Tag Manager.

To access Google Tag Manager code snippet:

  1. Login to your Google Tag Manager account at tagmanager.google.com. You see a list of available containers.
  2. Under the Container Name list, select the container from which you want to add the script. Google Tag Manager’s container dashboard appears.
  3. Under the Admin tab, click Install Google Tag Manager on the right. A page displaying JavaScript snippets appears.
  4. Copy the first JavaScript code snippet.

See the following generalized code snippet as an example of what to copy:

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

Previous Topic
Google Tag Manager
Next Topic
Adding Google Tag Manager snippet to Brightspot site
Was this topic helpful?
Thanks for your feedback.
The elements that get you up and running in a matter of days, from pre-built content types, to modules, to landing pages.

Content types
Modules
Landing pages
Everything you need to manage and administer content within Brightspot CMS.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
Images
A guide for configuring different integrations to support a multitude of use cases.

Google Analytics
Shopify
Apple News