☯☼☯ SEO and Non-SEO (Science-Education-Omnilogy) Forum ☯☼☯



☆ ☆ ☆ № ➊ Omnilogic Forum + More ☆ ☆ ☆

Your ad here just for $2 per day!

- - -

Your ads here ($2/day)!

Author Topic: How can I implement "Google Tag Manager" to my website?  (Read 890 times)

0 Members and 1 Guest are viewing this topic.

Agalya

  • SEO newbie
  • *
  • Banned!
  • Posts: 19
  • SEO-karma: +6/-4
  • Gender: Female
  • Agalya
    • View Profile
    • Lucky birth stone
How can I implement "Google Tag Manager" to my website?
« on: November 08, 2017, 05:21:32 PM »
How can I implement "Google Tag Manager" to my website?

SEO

  • SEO master
  • SEO Admin
  • SEO hero member
  • *****
  • Posts: 7311
  • SEO-karma: +723/-1
  • SEO expert
    • View Profile
    • SEO
Google Tag Manager overview
« Reply #1 on: November 09, 2017, 01:36:25 AM »

Google Tag Manager overview

Google Tag Manager overview: https://support.google.com/tagmanager/answer/6102821?hl=en.

Was this article helpful?

sinelogixtech

  • SEO jr. member
  • **
  • Banned!
  • Posts: 56
  • SEO-karma: +16/-2
    • View Profile
Re: How can I implement "Google Tag Manager" to my website?
« Reply #2 on: November 10, 2017, 11:43:11 AM »
Go to tagmanager.google.com to create an account (or to access an existing account).
-> Create a container for your site in the account.
-> Add the container snippet to your site.
-> Migrate any hardcoded tags (such as AdWords or DoubleClick tags) from your site's source code into Tag Manager.

alwaysprompt

  • SEO newbie
  • *
  • Posts: 19
  • SEO-karma: +3/-2
    • View Profile
Re: How can I implement "Google Tag Manager" to my website?
« Reply #3 on: November 11, 2017, 02:23:42 PM »
-> Duplicate the accompanying JavaScript and glue it as near the opening <head> tag as conceivable on each page of your site, supplanting GTM-XXXX with your compartment ID:
<!-- 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-XXXX');</script>
<!-- End Google Tag Manager -->


-> Copy the accompanying bit and glue it quickly after the opening <body> tag on each page of your site, supplanting GTM-XXXX with your compartment ID:
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

Tags:
 

Your ad here just for $1 per day!

- - -

Your ads here ($1/day)!

About the privacy policy
How Google uses data when you use our partners’ sites or apps
Post there to report content which violates or infringes your copyright.