{"id":8376,"date":"2026-05-21T01:17:14","date_gmt":"2026-05-20T23:17:14","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=8376"},"modified":"2026-06-15T00:34:49","modified_gmt":"2026-06-14T22:34:49","slug":"google-tag-manager-centralizarea-scripturilor-de-monitorizare-web","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/","title":{"rendered":"Google Tag Manager: Centralizarea scripturilor dvs. de urm\u0103rire web"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">Google Tag Manager (GTM) is a free tag management platform that allows you to add, update, and manage tracking codes on a website or mobile application without directly editing the site&#8217;s source code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instead of manually adding tracking scripts every time you want to measure user activity, GTM provides a centralized interface where you can manage analytics, advertising, and marketing tags from a single location.<\/p>\n\n\n\n<\/div>\n\n<div id=\"mybox-397927398\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">This makes it easier to implement tracking tools, reduce development time, and maintain accurate data collection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#How_Does_Google_Tag_Manager_Work\" >How Does Google Tag Manager Work?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Tags\" >Tags<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Triggers\" >Triggers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Variables\" >Variables<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Benefits_of_Using_Google_Tag_Manager\" >Benefits of Using Google Tag Manager<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Easier_Tag_Management\" >Easier Tag Management<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Faster_Marketing_Deployments\" >Faster Marketing Deployments<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Reduced_Risk_of_Errors\" >Reduced Risk of Errors<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Built-In_Testing_Tools\" >Built-In Testing Tools<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Support_for_Multiple_Platforms\" >Support for Multiple Platforms<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Common_Uses_of_Google_Tag_Manager\" >Common Uses of Google Tag Manager<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#How_to_Start_Using_Google_Tag_Manager\" >How to Start Using Google Tag Manager<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Create_a_GTM_Account\" >Create a GTM Account<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Create_a_Container\" >Create a Container<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Install_the_GTM_Code\" >Install the GTM Code<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Configure_Tags_and_Triggers\" >Configure Tags and Triggers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Test_Before_Publishing\" >Test Before Publishing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Publish_Changes\" >Publish Changes<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Google_Tag_Manager_and_Analytics\" >Google Tag Manager and Analytics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/google-tag-manager-centralizing-your-web-tracking-scripts\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_Does_Google_Tag_Manager_Work\"><\/span>How Does Google Tag Manager Work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Google Tag Manager works through a small code snippet installed on your website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once GTM is connected to your site, you can manage tracking codes directly from the Google Tag Manager interface without repeatedly modifying your website files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GTM uses three main components:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Tags\"><\/span>Tags<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Tags are snippets of code that collect data or trigger actions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Common examples include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Google Analytics tracking<\/li>\n\n\n\n<li>Google Ads conversion tracking<\/li>\n\n\n\n<li>Meta (Facebook) Pixel<\/li>\n\n\n\n<li>LinkedIn Insight Tag<\/li>\n\n\n\n<li>Hotjar tracking<\/li>\n\n\n\n<li>Custom JavaScript<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Triggers\"><\/span>Triggers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Triggers determine when a tag should fire.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Examples include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Page views<\/li>\n\n\n\n<li>Button clicks<\/li>\n\n\n\n<li>Form submissions<\/li>\n\n\n\n<li>File downloads<\/li>\n\n\n\n<li>Scroll depth<\/li>\n\n\n\n<li>Video interactions<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Variables\"><\/span>Variables<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Variables store information that tags and triggers can use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Examples include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Page URL<\/li>\n\n\n\n<li>Clicked button text<\/li>\n\n\n\n<li>Form values<\/li>\n\n\n\n<li>Referrer URL<\/li>\n\n\n\n<li>User-defined values<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Benefits_of_Using_Google_Tag_Manager\"><\/span>Benefits of Using Google Tag Manager<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Easier_Tag_Management\"><\/span>Easier Tag Management<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">New tracking codes can be added without editing website files every time a change is needed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Faster_Marketing_Deployments\"><\/span>Faster Marketing Deployments<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Marketing teams can implement analytics and advertising tools without waiting for development changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Reduced_Risk_of_Errors\"><\/span>Reduced Risk of Errors<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Managing all tracking scripts from a single interface helps prevent duplicate or incorrectly configured tags.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Built-In_Testing_Tools\"><\/span>Built-In Testing Tools<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">GTM includes a Preview Mode that allows you to test tags before publishing them to your live website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Support_for_Multiple_Platforms\"><\/span>Support for Multiple Platforms<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Google Tag Manager supports a wide range of third-party tools and services, making it suitable for websites of all sizes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_Uses_of_Google_Tag_Manager\"><\/span>Common Uses of Google Tag Manager<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Website owners frequently use GTM to track:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Website traffic<\/li>\n\n\n\n<li>Form submissions<\/li>\n\n\n\n<li>Newsletter signups<\/li>\n\n\n\n<li>Contact button clicks<\/li>\n\n\n\n<li>Purchases and conversions<\/li>\n\n\n\n<li>Advertising campaign performance<\/li>\n\n\n\n<li>User engagement metrics<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This information can then be analyzed using tools such as Google Analytics.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Start_Using_Google_Tag_Manager\"><\/span>How to Start Using Google Tag Manager<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Create_a_GTM_Account\"><\/span>Create a GTM Account<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Visit the Google Tag Manager website and create a new account.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Create_a_Container\"><\/span>Create a Container<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A container stores all of your tags, triggers, and variables for a specific website or application.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_the_GTM_Code\"><\/span>Install the GTM Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Google Tag Manager will generate a code snippet that must be added to your website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Configure_Tags_and_Triggers\"><\/span>Configure Tags and Triggers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Add the tracking tools you want to use and define when they should activate.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Test_Before_Publishing\"><\/span>Test Before Publishing<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use Preview Mode to verify that tags fire correctly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Publish_Changes\"><\/span>Publish Changes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once testing is complete, publish the container to make your changes live.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Google_Tag_Manager_and_Analytics\"><\/span>Google Tag Manager and Analytics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Google Tag Manager does not replace analytics platforms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instead, it works alongside tools such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Google Analytics 4 (GA4)<\/li>\n\n\n\n<li>Google Ads<\/li>\n\n\n\n<li>Meta Pixel<\/li>\n\n\n\n<li>LinkedIn Ads<\/li>\n\n\n\n<li>Hotjar<\/li>\n\n\n\n<li>Microsoft Clarity<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">GTM serves as the management layer that deploys and controls these tracking tools.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Google Tag Manager is a powerful tool for managing website tracking and marketing scripts from a single interface. By simplifying tag deployment and reducing the need for direct code changes, GTM helps website owners collect accurate data, improve marketing campaigns, and better understand how visitors interact with their websites.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[42],"manual_kb_tag":[4748,7117,7119,7655,7656,7657,7658,7659,7660,7661],"class_list":["post-8376","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-miscellaneous","manual_kb_tag-meta-pixel","manual_kb_tag-google-analytics","manual_kb_tag-google-tag-manager","manual_kb_tag-google-ads","manual_kb_tag-tag-management","manual_kb_tag-tracking-codes","manual_kb_tag-tracking-scripts","manual_kb_tag-tag-deployment","manual_kb_tag-container-management","manual_kb_tag-google-analytics-4"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":3,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8376\/revisions"}],"predecessor-version":[{"id":8377,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8376\/revisions\/8377"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=8376"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=8376"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=8376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}