Skip to main content
All CollectionsAds & Monetization
How to Install Google Tag Manager (GTM)
How to Install Google Tag Manager (GTM)

Step-by-step guide to installing Google Tag Manager (GTM) on your Newsifier sites to manage tags efficiently.

S
Written by Support Newsifier
Updated over 2 months ago

Introduction

Google Tag Manager (GTM) is a powerful and free tool that simplifies the process of managing and deploying tracking codes (also known as "tags") on your website. These tags are used to collect data about user behavior, track conversions, and integrate with various analytics and marketing tools, Tags can include things like:

  • Analytics: Track user activity on your website with Google Analytics or other analytics platforms.

  • Advertising Pixels: Add Facebook Pixel, Google Ads conversion tracking, and other advertising tools.

  • Event Tracking: Measure specific actions users take on your site, like button clicks or form submissions.

  • Custom HTML/JavaScript: Insert additional custom scripts or functionality without needing a developer to modify the website code.

By consolidating tags in GTM, you can efficiently update, manage, and track website interactions—all in one place.

Install Google Tag Manager (GTM) in Newsifier (V1)

  1. Navigate to the Admin Panel.

  2. Go to General > Settings > Other.

  3. Locate the Header Code field.

  4. Enter you GTM scripts into the field, and make sure to contain the correct GTM key (GTM-XXXXXX) in the script

    <!-- 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-XXXXXX');</script>

    <!-- End Google Tag Manager -->

Once inserted, Google Tag Manager will be activated across your site, allowing you to manage tags and scripts seamlessly.

Install Google Tag Manager (GTM) in Newsifier (V2)

  1. Navigate to the Admin Panel.

  2. Go to General > Settings > Other.

  3. Locate the Google Tag Manager field.

  4. Enter your GTM container key (e.g., GTM-XXXXXX) into the field.

  5. Save your changes.

Once inserted, Google Tag Manager will be activated across your site, allowing you to manage tags and scripts seamlessly.

Did this answer your question?