SlideShare uma empresa Scribd logo
1 de 19
Google Tag Manager
Google Tag Manager
What is Google tag manager?
Google Tag Manager (also known as GTM) is a free tag management tool provided
by Google.
Google Tag Manager is a free tool that makes it easy for marketers to add and
update website tags -- including conversion tracking, site analytics, remarketing, and
more—with just a few clicks, and without needing to edit your website code on
your website backend or mobile app.
Google Tag Manager
What is a Tag?
A tag is a bunch of JavaScript code which is used to collect measurement and
marketing data from your website/mobile app and then send that data to a 3rd party
service when the corresponding trigger evaluate to true at run time.
The third party service could be: Google Analytics, Google Adwords, Twitter, Facebook,
Comscore etc.
Google Tag Manager
Example of tag: Google Analytics Tag (also known as Google Analytics Tracking code)
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXX-Y', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
This is Google analytic code which we use for tracking analytics data on the website.
Google Tag Manager
Tag is just a snippet of code. You can add this snippet of code (or tag) directly to your
website, by copying-pasting it, in your website template files (like header.php) or you
can add the tag indirectly on your website, via Google Tag Manager (GTM).
Google Tag Manager
Benefits:
• GTM removes the need for editing the website code over and over again just for
adding, removing or editing tags.
• Through GTM you can test and deploy tags faster without hardcoding the tags each
and every time on your website.
• GTM makes advanced tracking possible (GTM provides many in-built tags and
functions through which you can implement advanced tracking in short amount of
time).
• GTM makes tag management very efficient
• By using GTM, you can improve website speed
Google Tag Manager
Google Tag Manager Container Tag:
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-TXHBPD"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<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=
'//www.googletagmanager.com/<strong>gtm.js</strong>?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','<strong>GTM-TXHBDR</strong>');</script>
<!-- End Google Tag Manager -->
Once you have added the container tag on your website/mobile app, you don’t need
to keep other tags (like Google Analytics tracking code, Google Adwords conversion
tracking code, Facebook pixels, hotjar code etc) hard coded on your website. You can
track all information through this one tag.
Google Tag Manager
Structure & Layout of GTM:
• Accounts
• Container
a. Tags
b. Triggers
• Publishing & Versions
• Admin
Google Tag Manager
Accounts:
The top-most level of organization. Typically, only one account is needed per company.
Tags for all the company’s websites can be managed from this account by creating new
containers.
You will be asked to fill in the account name (use the company name) and whether
it will be used for Web or Mobile Apps; then you will be asked if you agree to the
Service Agreement. Once you do, your account will be created with a container.
Google Tag Manager
Container:
A container holds all the tags for a specific website; as a best practice, it should be named after the website it is
being used for. To create a new container select an account and click on the Create Container from the accounts
menu. Once you have a new container, you will get a screen similar to the following.
Google Tag Manager
Tags:
Once you create a container, you can start creating tags for your website. Google provides templates for its own
tags and other commonly used third party solutions (e.g. Marin, ArRoll, LinkedIn etc), but it also allows custom
tags to be used
In order to add a tag to a container, navigate to the container, choose the tags section and click on the New Tag
button on the top-right corner of your screen. See the top left box on the screenshot above.
Google Tag Manager
Triggers:
Once you decide which tag to add, you will be prompted with a few details to fill for each tag type:
e.g. Conversion ID and Conversion Label for AdWords Conversion Tracking or Web Property ID,
Cookie Path and Track Type for Google Analytics.
You will also be able to add a trigger to fire the tag. Below is a very simple setting showing how the
Google Analytics tag would be configured.
Google Tag Manager
The Fire On section above will define the triggers under which the tag is fired. For tags that should
appear on all pages of the website (like Google Analytics), you would use the default All Pages.
Google Tag Manager
Publishing & Versions:
Once tags are added to a container they are not automatically published, they must be
"manually" published. Publishing is always linked to a container version, which is a
snapshot of the container that can be made at any time.
If you click on Versions at the top of your screen, you will see a short summary of your
current version and you can click through using the Action button on the right of any
version to preview, share publish, export and others. This is an excellent way to keep
track of your change history.
Refer next slide for versions window:
Google Tag Manager
Google Tag Manager
Admin:
Users are added to accounts and should be added on a container basis. For each
container, there are four types of user access:
No access: user does not see the container listed in the account.
View only: user sees the container listed and may browse the tags, rules, and
macros in the container, but cannot edit them.
View and Edit: user may add and edit tags, rules, and macros in the container.
View, Edit, Delete and Publish: user may add, edit, and delete tags, rules, and
macros in the container as well as publish changes to the live site.
Google Tag Manager
Conclusion:
 via GTM, you can very easily: add, remove, enable or disable any tag on your website. You can very easily
change the functionality of almost any tag.
 If you are using Google Tag manager, you can complete this task in a matter of minutes. Without using
GTM, you will have to add, event tracking code, to each and every external link, which is very time consuming
and prone to errors.
 The biggest advantage of using GTM is that, it makes advanced analytics tracking possible for your website.
GTM provides many in-built tags and functions through which you can implement advanced tracking in short
amount of time.
 When you use GTM, you can add, edit, enable, disable and remove all website tags from one central
location. This ability of the GTM, makes tag management extremely efficient esp. when you have got dozens
of marketing and analytics tags on your website.
 When you deploy tags via GTM, they are deployed asynchronously, meaning a slow loading tag won’t block
other tags from being fired (executed).
Google Tag Manager
References:
https://woorkup.com/complete-google-tag-manager-tutorial-8-scripts-1/
https://www.optimizesmart.com/beginners-guide-google-tag-manager-v2/
http://infotrustllc.com/wp-content/uploads/2014/05/Implementation-and-Advanced-
GTM-Final.pdf
http://online-behavior.com/analytics/google-tag-manager
https://www.gravitatedesign.com/blog/google-tag-manager-setup-analytics/
https://www.google.com/analytics/tag-manager/capabilities/
Google Tag Manager

Mais conteúdo relacionado

Destaque

Google Analytics (GA) & Google Tag Manager(GTM) 101
Google Analytics (GA) & Google Tag Manager(GTM) 101Google Analytics (GA) & Google Tag Manager(GTM) 101
Google Analytics (GA) & Google Tag Manager(GTM) 101HY C
 
Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Yourposition AG
 
Google Tag Manager Advanced - SEOCampixx 2016
Google Tag Manager Advanced - SEOCampixx 2016Google Tag Manager Advanced - SEOCampixx 2016
Google Tag Manager Advanced - SEOCampixx 2016Jan Berens
 
Google Tag Manager - Revolve Conference 2015
Google Tag Manager - Revolve Conference 2015Google Tag Manager - Revolve Conference 2015
Google Tag Manager - Revolve Conference 2015Tina Arnoldi, MA, LPC
 
Universal Analytics and Google Tag Manager - Superweek 2014
Universal Analytics and Google Tag Manager - Superweek 2014Universal Analytics and Google Tag Manager - Superweek 2014
Universal Analytics and Google Tag Manager - Superweek 2014Analytics Ninja LLC
 
Google Tag Manager
Google Tag ManagerGoogle Tag Manager
Google Tag ManagerBraveBits
 
Google Tag Manager (GTM)
Google Tag Manager (GTM)Google Tag Manager (GTM)
Google Tag Manager (GTM)Dragos Ionita
 
Google Tag Manager - Basic Introduction
Google Tag Manager - Basic IntroductionGoogle Tag Manager - Basic Introduction
Google Tag Manager - Basic Introductioncarlfranzon
 
Advanced Form Tracking in Google Tag Manager
Advanced Form Tracking in Google Tag ManagerAdvanced Form Tracking in Google Tag Manager
Advanced Form Tracking in Google Tag ManagerSimo Ahava
 
Google tag manager-web analytics101
Google tag manager-web analytics101Google tag manager-web analytics101
Google tag manager-web analytics101道育 黃
 
How Digital Marketer Uses Google Tag Manager To Improve Sales & Leads
How Digital Marketer Uses Google Tag Manager To Improve Sales & LeadsHow Digital Marketer Uses Google Tag Manager To Improve Sales & Leads
How Digital Marketer Uses Google Tag Manager To Improve Sales & LeadsMeasurementMarketing.io
 
Google Tag Manager For Nerds
Google Tag Manager For NerdsGoogle Tag Manager For Nerds
Google Tag Manager For NerdsSimo Ahava
 
Tricks and tweaks for Google Analytics and Google Tag Manager
Tricks and tweaks for Google Analytics and Google Tag ManagerTricks and tweaks for Google Analytics and Google Tag Manager
Tricks and tweaks for Google Analytics and Google Tag ManagerSimo Ahava
 
Masterclass Analytics Deep Dive met Google Analytics Advanced en Google Tag M...
Masterclass Analytics Deep Dive met Google Analytics Advanced en Google Tag M...Masterclass Analytics Deep Dive met Google Analytics Advanced en Google Tag M...
Masterclass Analytics Deep Dive met Google Analytics Advanced en Google Tag M...➚ Mike van Hoenselaar
 

Destaque (14)

Google Analytics (GA) & Google Tag Manager(GTM) 101
Google Analytics (GA) & Google Tag Manager(GTM) 101Google Analytics (GA) & Google Tag Manager(GTM) 101
Google Analytics (GA) & Google Tag Manager(GTM) 101
 
Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)
 
Google Tag Manager Advanced - SEOCampixx 2016
Google Tag Manager Advanced - SEOCampixx 2016Google Tag Manager Advanced - SEOCampixx 2016
Google Tag Manager Advanced - SEOCampixx 2016
 
Google Tag Manager - Revolve Conference 2015
Google Tag Manager - Revolve Conference 2015Google Tag Manager - Revolve Conference 2015
Google Tag Manager - Revolve Conference 2015
 
Universal Analytics and Google Tag Manager - Superweek 2014
Universal Analytics and Google Tag Manager - Superweek 2014Universal Analytics and Google Tag Manager - Superweek 2014
Universal Analytics and Google Tag Manager - Superweek 2014
 
Google Tag Manager
Google Tag ManagerGoogle Tag Manager
Google Tag Manager
 
Google Tag Manager (GTM)
Google Tag Manager (GTM)Google Tag Manager (GTM)
Google Tag Manager (GTM)
 
Google Tag Manager - Basic Introduction
Google Tag Manager - Basic IntroductionGoogle Tag Manager - Basic Introduction
Google Tag Manager - Basic Introduction
 
Advanced Form Tracking in Google Tag Manager
Advanced Form Tracking in Google Tag ManagerAdvanced Form Tracking in Google Tag Manager
Advanced Form Tracking in Google Tag Manager
 
Google tag manager-web analytics101
Google tag manager-web analytics101Google tag manager-web analytics101
Google tag manager-web analytics101
 
How Digital Marketer Uses Google Tag Manager To Improve Sales & Leads
How Digital Marketer Uses Google Tag Manager To Improve Sales & LeadsHow Digital Marketer Uses Google Tag Manager To Improve Sales & Leads
How Digital Marketer Uses Google Tag Manager To Improve Sales & Leads
 
Google Tag Manager For Nerds
Google Tag Manager For NerdsGoogle Tag Manager For Nerds
Google Tag Manager For Nerds
 
Tricks and tweaks for Google Analytics and Google Tag Manager
Tricks and tweaks for Google Analytics and Google Tag ManagerTricks and tweaks for Google Analytics and Google Tag Manager
Tricks and tweaks for Google Analytics and Google Tag Manager
 
Masterclass Analytics Deep Dive met Google Analytics Advanced en Google Tag M...
Masterclass Analytics Deep Dive met Google Analytics Advanced en Google Tag M...Masterclass Analytics Deep Dive met Google Analytics Advanced en Google Tag M...
Masterclass Analytics Deep Dive met Google Analytics Advanced en Google Tag M...
 

Último

Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 

Último (20)

Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 

Google tag manager Insights

  • 2. Google Tag Manager What is Google tag manager? Google Tag Manager (also known as GTM) is a free tag management tool provided by Google. Google Tag Manager is a free tool that makes it easy for marketers to add and update website tags -- including conversion tracking, site analytics, remarketing, and more—with just a few clicks, and without needing to edit your website code on your website backend or mobile app.
  • 3. Google Tag Manager What is a Tag? A tag is a bunch of JavaScript code which is used to collect measurement and marketing data from your website/mobile app and then send that data to a 3rd party service when the corresponding trigger evaluate to true at run time. The third party service could be: Google Analytics, Google Adwords, Twitter, Facebook, Comscore etc.
  • 4. Google Tag Manager Example of tag: Google Analytics Tag (also known as Google Analytics Tracking code) <!-- Google Analytics --> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-XXXX-Y', 'auto'); ga('send', 'pageview'); </script> <!-- End Google Analytics --> This is Google analytic code which we use for tracking analytics data on the website.
  • 5. Google Tag Manager Tag is just a snippet of code. You can add this snippet of code (or tag) directly to your website, by copying-pasting it, in your website template files (like header.php) or you can add the tag indirectly on your website, via Google Tag Manager (GTM).
  • 6. Google Tag Manager Benefits: • GTM removes the need for editing the website code over and over again just for adding, removing or editing tags. • Through GTM you can test and deploy tags faster without hardcoding the tags each and every time on your website. • GTM makes advanced tracking possible (GTM provides many in-built tags and functions through which you can implement advanced tracking in short amount of time). • GTM makes tag management very efficient • By using GTM, you can improve website speed
  • 7. Google Tag Manager Google Tag Manager Container Tag: <!-- Google Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-TXHBPD" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <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= '//www.googletagmanager.com/<strong>gtm.js</strong>?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','<strong>GTM-TXHBDR</strong>');</script> <!-- End Google Tag Manager --> Once you have added the container tag on your website/mobile app, you don’t need to keep other tags (like Google Analytics tracking code, Google Adwords conversion tracking code, Facebook pixels, hotjar code etc) hard coded on your website. You can track all information through this one tag.
  • 8. Google Tag Manager Structure & Layout of GTM: • Accounts • Container a. Tags b. Triggers • Publishing & Versions • Admin
  • 9. Google Tag Manager Accounts: The top-most level of organization. Typically, only one account is needed per company. Tags for all the company’s websites can be managed from this account by creating new containers. You will be asked to fill in the account name (use the company name) and whether it will be used for Web or Mobile Apps; then you will be asked if you agree to the Service Agreement. Once you do, your account will be created with a container.
  • 10. Google Tag Manager Container: A container holds all the tags for a specific website; as a best practice, it should be named after the website it is being used for. To create a new container select an account and click on the Create Container from the accounts menu. Once you have a new container, you will get a screen similar to the following.
  • 11. Google Tag Manager Tags: Once you create a container, you can start creating tags for your website. Google provides templates for its own tags and other commonly used third party solutions (e.g. Marin, ArRoll, LinkedIn etc), but it also allows custom tags to be used In order to add a tag to a container, navigate to the container, choose the tags section and click on the New Tag button on the top-right corner of your screen. See the top left box on the screenshot above.
  • 12. Google Tag Manager Triggers: Once you decide which tag to add, you will be prompted with a few details to fill for each tag type: e.g. Conversion ID and Conversion Label for AdWords Conversion Tracking or Web Property ID, Cookie Path and Track Type for Google Analytics. You will also be able to add a trigger to fire the tag. Below is a very simple setting showing how the Google Analytics tag would be configured.
  • 13. Google Tag Manager The Fire On section above will define the triggers under which the tag is fired. For tags that should appear on all pages of the website (like Google Analytics), you would use the default All Pages.
  • 14. Google Tag Manager Publishing & Versions: Once tags are added to a container they are not automatically published, they must be "manually" published. Publishing is always linked to a container version, which is a snapshot of the container that can be made at any time. If you click on Versions at the top of your screen, you will see a short summary of your current version and you can click through using the Action button on the right of any version to preview, share publish, export and others. This is an excellent way to keep track of your change history. Refer next slide for versions window:
  • 16. Google Tag Manager Admin: Users are added to accounts and should be added on a container basis. For each container, there are four types of user access: No access: user does not see the container listed in the account. View only: user sees the container listed and may browse the tags, rules, and macros in the container, but cannot edit them. View and Edit: user may add and edit tags, rules, and macros in the container. View, Edit, Delete and Publish: user may add, edit, and delete tags, rules, and macros in the container as well as publish changes to the live site.
  • 17. Google Tag Manager Conclusion:  via GTM, you can very easily: add, remove, enable or disable any tag on your website. You can very easily change the functionality of almost any tag.  If you are using Google Tag manager, you can complete this task in a matter of minutes. Without using GTM, you will have to add, event tracking code, to each and every external link, which is very time consuming and prone to errors.  The biggest advantage of using GTM is that, it makes advanced analytics tracking possible for your website. GTM provides many in-built tags and functions through which you can implement advanced tracking in short amount of time.  When you use GTM, you can add, edit, enable, disable and remove all website tags from one central location. This ability of the GTM, makes tag management extremely efficient esp. when you have got dozens of marketing and analytics tags on your website.  When you deploy tags via GTM, they are deployed asynchronously, meaning a slow loading tag won’t block other tags from being fired (executed).