
{"id":9162,"date":"2020-09-09T10:20:00","date_gmt":"2020-09-09T07:20:00","guid":{"rendered":"http:\/\/blog.travelpayouts.com\/en\/?p=9162"},"modified":"2022-12-05T16:30:08","modified_gmt":"2022-12-05T13:30:08","slug":"google-tag-manager-conversion-analysis","status":"publish","type":"post","link":"https:\/\/www.travelpayouts.com\/blog\/google-tag-manager-conversion-analysis\/","title":{"rendered":"How to Analyze Your Audience and Calculate Conversion Rate With Google Tag Manager"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Why Track Visitors on Your Website<\/h2>\n\n\n\n<p>Analytics is the key to effective interaction with your visitors. The system shows where they come from, how much time they spend on a webpage, what buttons they push, and what pages they tend to leave sooner. It is advisable to install analytics right after publishing your website on the internet to collect statistics from the very beginning.&nbsp;<\/p>\n\n\n\n<p>We recommend you to look through the reports once a week. Analyze entry points, dynamics of attendance, search engines percentage, bounce rate and other important figures.&nbsp;<\/p>\n\n\n\n<p>For informational projects it is better to use a combination of Google Analytics + Yandex.Metrica + Google Tag Manager. Metrica records visits, saves click, and scrolling map. Analytics can be synchronized with Adsense, showing what pages bring more money.<\/p>\n\n\n\n<p>Google Tag Manager works perfectly with GA and expands its functions. With its help, you can, for example, set up outbound link click tracking and see reports in \u201cAnalytics.\u201d In this article, we\u2019ve shared a step-by-step instruction on how to do this through GTM and gave recommendations for connecting the service to your website.&nbsp;<\/p>\n\n\n\n<p>Read the instructions, create a container and go back to this section.&nbsp;<\/p>\n\n\n\n<p>GTM is similar to website constructors. Imagine that you can redesign a website on your own without coding skills. Tag Manager works likewise: you choose a tag, set up parameters, and see reports in Analytics.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Gtm Functions<\/h2>\n\n\n\n<p>Google Tag Manager is a tag manager that simplifies integration with external services. It is compatible with websites and mobile applications. Later, we will give two examples of how to set up conversion tracking through GTM.<\/p>\n\n\n\n<p><strong>What you can do with Tag Manager:<\/strong><\/p>\n\n\n\n<p>1. Set up integration with popular services, such as Google Analytics, Yandex.Metrica, Liveinternet, AWIN, Google Optimize, and others. The whole list of services for integration is available in<a href=\"https:\/\/support.google.com\/tagmanager\/answer\/6106924?hl=en\" target=\"_blank\" rel=\"noopener\"> Google\u2019s knowledge base.<\/a><\/p>\n\n\n\n<p>2. Track conversion and goals like clicks on social media buttons or advertising widgets, form submission, or video reviews.<\/p>\n\n\n\n<p>3. Count referrals through external and internal links. It shows whether interlinking works or if visitors just look through the content and leave.&nbsp;&nbsp;<\/p>\n\n\n\n<p>4. Place an arbitrary code. Add micro marking and check website ownership in Yandex or Google.<\/p>\n\n\n\n<p>5. Add tags of retargeting and remarketing. You can connect your audience in \u201cpixels\u201d and set up target advertising in social networks. This way, it is easier to get new subscribers into new societies.&nbsp;<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b77bf&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"484\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm1-1024x484.jpg\" alt=\"\" class=\"wp-image-9163\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm1-1024x484.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm1-300x142.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm1-768x363.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm1-1536x727.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm1.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Before sharing tips on how to work with GTM, let`s first go over major terms that you need to know.<\/p>\n\n\n\n<p>1. <strong>Container<\/strong> is a framework that keeps tags. You need to create a separate resource and container for each website or application. The framework has the main code that launches attached tags.&nbsp;<\/p>\n\n\n\n<p>2. <strong>Tag<\/strong> is a fragment of code that functions under certain conditions. It helps track traffic and user behavior. GTM has lots of built-in tags that fulfill basic tasks. There is also the \u201cGallery of the community templates\u201d with tags from external developers.&nbsp;<\/p>\n\n\n\n<p>3. <strong>Trigger<\/strong> is an event that activates a tag. Filters give you flexibility in setting up trigger conditions: define URL or class of pages.<\/p>\n\n\n\n<p>4. <strong>Variable <\/strong>is a parameter that is given a value. For example, a website has a subscription form for emails with a button. A click on this button transfers a value of a CSS-class to the variable. Variables work together with triggers. They set exact terms of activation.<\/p>\n\n\n\n<p>Most likely, in the beginning you may encounter difficulties working in the editor. Metrica\u2019s interface seems more native and familiar, while Google Analytics and Tag Manager look more complex. As if you change Lanos for Hammer, at first, it is awkward and weird, but a few drives later you feel like a king.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Advantages of Gtm<\/h2>\n\n\n\n<p>1. <strong>Single-time code insertion<\/strong>. You need to install a call-up template for Tag Manager and send the container to publication after adding new tags.<\/p>\n\n\n\n<p>2. <strong>Works with any CMS<\/strong>. You can install it to WordPress, Joomla, Bitrix, ModX, or integrate it with an empty HTML.<\/p>\n\n\n\n<p>3. <strong>Easy management<\/strong>. All tags and variables are collected in one place. They are easy to edit or delete. The update process of the contents requires only a few clicks.<\/p>\n\n\n\n<p>4. <strong>Wide opportunities<\/strong>. You can complete any task with Tag Manager: install Metrica, Adsense code, or arbitrary HTML-code.<\/p>\n\n\n\n<p>5. <strong>System of version control<\/strong>. The history of editing saves an activity log. You can roll a container back to the previous version if you notice that conversions are not calculated anymore or in case of any other issue.<\/p>\n\n\n\n<p>6. <strong>Multi-user work<\/strong>. If you are not sure whether GTM has been properly set up, invite a more experienced colleague or developer to have a look.<\/p>\n\n\n\n<p>7. <strong>Ready-made templates<\/strong>. There are integrated sets for Google Analytics, remarketing in Adwords, tracking phone calls after redirecting through advertisements and other options.<\/p>\n\n\n\n<p>8. <strong>ctools<\/strong>. Review mode shows results of adding tags before publishing changes on the website.<\/p>\n\n\n\n<p>9. <strong>Asynchronous tag upload<\/strong>. GTM has almost no influence on the website speed and the scripts are downloaded after all main sections of HTML and CSS are uploaded.<\/p>\n\n\n\n<p>You can do without Google Tag Manager if your website has a code of a few external services. A standard set for an informational project is larger: \u201cMetrica,\u201d Analytics, VK, and FB Pixel, comments from Vkontakte and other services. In this case, you better use GTM.&nbsp;<\/p>\n\n\n\n<p>Analytics instruments are vital for developing your website. You need to constantly track the effectiveness of advertising formats, widgets, and other elements. If no one shares them, it is better to remove them. GTM together with Google Analytics will show the statistics of all the setup conversions.<\/p>\n\n\n\n<p>Thanks to Tag Manager, you won\u2019t need to hire a developer or buy extended plugin versions. There are a lot of WordPress solutions for uploading the block \u201cShare in social networks\u201d and many of them show statistics only in paid versions. You may trick the restriction by counting link clicks from the container through GTM and not paying for the pro-version.<\/p>\n\n\n\n<p>Analyzing the number of redirections via partners URL or blocks of content advertising can also be done. You might as well generate the code of micro marking and insert it without any external plugins.&nbsp;<\/p>\n\n\n\n<p>Tag dispatcher solves almost any task that a web-master may have. You only need to get used to the interface and learn how to use it. We\u2019ll discuss it in more detail in the practical part of the article.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Difference Between Tag Manager and Google Analytics<\/h2>\n\n\n\n<p>A lot of new users get lost in these instruments. You can set up an Analytics code through GTM but to guarantee that your data is transmitted correctly, you need to create a resource in \u201cAnalytics.\u201d&nbsp;<\/p>\n\n\n\n<p>Google Analytics collects and systematizes data about the audience and its behavior. Google Tag Manager is a component that allows you to set up expanded analytics and see reports in Google Analytics.<\/p>\n\n\n\n<p>Tag Manager and GA add up to each other. For example, GTM allows you to change the mechanism of counting refusals that works in a weird way by default. Google Analytics counts any visit with a review of only one webpage as a refusal. The difference in figures in Metrica and Analytics can be up to 30-40%. The problem might be solved within a couple of minutes. Add a tag with a timer and count it as a refusal for all visits with a duration less than 15 secs.&nbsp;<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b7e43&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"430\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm2-1024x430.jpg\" alt=\"\" class=\"wp-image-9164\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm2-1024x430.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm2-300x126.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm2-768x323.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm2-1536x645.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm2.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><strong>Setup conversion tracking<\/strong><\/p>\n\n\n\n<p>Let&#8217;s practice now. We will show you a few ways to set up the transmission of the data on conversions when filling out the form.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Click ID<\/h3>\n\n\n\n<p>Suppose that your blog has an email subscription form and you need to understand whether it is effective. Subscriber figures grow slowly and you need to figure out what percentage of the audience uses the form.&nbsp;<\/p>\n\n\n\n<p>For this, it is better to use Google Chrome browser and two extensions such as <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/google-analytics-debugger\/jnkmfdileelhofjcijamephohjechhna?hl=ru\" target=\"_blank\" rel=\"noopener\">Google Analytics Debugger<\/a> and<a href=\"https:\/\/chrome.google.com\/webstore\/detail\/tag-assistant-by-google\/kejbdjndbnbjgmefkgdddjlbokphdefk?hl=ru\" target=\"_blank\" rel=\"noopener\"> Tag Assistant<\/a>.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Open the source code of the webpage in \u201cInspector\u201d and find the form ID.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b81ef&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"486\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm3-1024x486.jpg\" alt=\"\" class=\"wp-image-9165\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm3-1024x486.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm3-300x143.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm3-768x365.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm3-1536x730.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm3.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Go to the page \u201cTriggers: press \u201cCreate\u201d and add a new event \u201cForm submission.\u201d Make sure to set a unique name so you don\u2019t mistake it with other templates.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b84e5&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"482\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm4-1024x482.jpg\" alt=\"\" class=\"wp-image-9166\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm4-1024x482.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm4-300x141.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm4-768x361.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm4-1536x723.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm4.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>In a new window, choose the option \u201cSome forms\u201d and press \u201cClick ID\u201d in the dropdown menu, then choose \u201cEqual to\u201d and fill in the ID.&nbsp;<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b87d1&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"484\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm5-1024x484.jpg\" alt=\"\" class=\"wp-image-9167\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm5-1024x484.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm5-300x142.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm5-768x363.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm5-1536x727.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm5.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Go to the page \u201cTags\u201d and choose \u201cUniversal Analytics.\u201d<\/li><li>Fill in the settings as shown in the screenshot.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b8abd&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"484\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm6-1024x484.jpg\" alt=\"\" class=\"wp-image-9168\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm6-1024x484.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm6-300x142.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm6-768x363.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm6-1536x726.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm6.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\"><li>Check that the tag appears on the list.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b8e12&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"479\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm7-1024x479.jpg\" alt=\"\" class=\"wp-image-9169\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm7-1024x479.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm7-300x140.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm7-768x360.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm7-1536x719.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm7.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\"><li>Press the button \u201cPublish\u201d to update the contents of the container on the website.<\/li><li>Open the website and test it through the add-in GA Debug that you installed earlier.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b914f&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"486\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm8-1024x486.jpg\" alt=\"\" class=\"wp-image-9170\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm8-1024x486.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm8-300x143.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm8-768x365.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm8-1536x730.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm8.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Likewise, you can set up tracking conversions from the form via CSS selector if it does not have a unique ID.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Datalayer<\/h3>\n\n\n\n<p>Data submitted through forms is sent in two ways: through the event submit and through AJAX. In the first case, you can use a standard trigger \u201cSubmission form\u201d that we set up in the previous section. To use AJAX, you need to set up a user event in GTM and engage the datalayer. This is a control array that you can use to transmit data into Google Tag Manager.&nbsp;<\/p>\n\n\n\n<p>Our goal is to make sure that when you submit the form into the control array datalayer, an event is added and is later recognized by GTM.&nbsp;<\/p>\n\n\n\n<p>Many webmasters use CMS WordPress and one of the most popular plugins of contact forms on their websites: Contact Form 7, Ninja Forms, and WPForms.&nbsp;<\/p>\n\n\n\n<p>Let&#8217;s discuss the process of the CF7 setup. Upon pressing the button \u201cSend,\u201d you launch an event of form submission that works according to several scenarios. We are now interested in the event wpcf7mailsent. It works when a message is successfully sent to the email box.<\/p>\n\n\n\n<p><strong>What you need to do:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Create a tag of the type \u201cCustom HTML,\u201d insert a code from the block under this list, and choose \u201cAll Pages\u201d in the triggers. <\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b9505&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"485\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm9-1024x485.jpg\" alt=\"\" class=\"wp-image-9171\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm9-1024x485.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm9-300x142.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm9-768x364.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm9-1536x728.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm9.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<div style=\"background: #ffffff;overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em\"><pre style=\"margin: 0;line-height: 125%\"><span style=\"color: #333333\">&lt;<\/span>script<span style=\"color: #333333\">&gt;<\/span>\ndocument<span style=\"color: #333333\">.<\/span>addEventListener( <span style=\"background-color: #fff0f0\">'wpcf7mailsent'<\/span>, function( event ) {\ndataLayer<span style=\"color: #333333\">.<\/span>push({\n<span style=\"background-color: #fff0f0\">'event'<\/span> : <span style=\"background-color: #fff0f0\">'wpcf7successfulsubmit'<\/span>,\n<span style=\"background-color: #fff0f0\">'CF7formID'<\/span> : event<span style=\"color: #333333\">.<\/span>detail<span style=\"color: #333333\">.<\/span>contactFormId\n});\n}, false );\n<span style=\"color: #333333\">&lt;\/<\/span>script<span style=\"color: #333333\">&gt;<\/span>\n<\/pre><\/div>\n\n\n\n<p><a href=\"https:\/\/inweb.ua\/blog\/datalayer_google-tag-manager\/#fouth\" target=\"_blank\" rel=\"noopener\">Code source<\/a><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Create a trigger of the type \u201cCustom event\u201d and set the \u201cwpcf7successfulsubmit\u201d value.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b9875&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"484\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/1gtm0-1024x484.jpg\" alt=\"\" class=\"wp-image-9172\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/1gtm0-1024x484.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/1gtm0-300x142.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/1gtm0-768x363.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/1gtm0-1536x727.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/1gtm0.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Now create a \u201cContact Form Submission\u201d tag with settings as shown on the screenshot.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b9b7d&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"491\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm11-1024x491.jpg\" alt=\"\" class=\"wp-image-9174\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm11-1024x491.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm11-300x144.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm11-768x368.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm11-1536x736.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm11.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Add a variable of the data level with the similar parameters.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1b9eaf&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"486\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm12-1024x486.jpg\" alt=\"\" class=\"wp-image-9176\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm12-1024x486.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm12-300x143.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm12-768x365.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm12-1536x730.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm12.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>Open the tab \u201cGoals\u201d in the settings of Google Analytics administrator.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1ba1c5&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"433\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm13-1024x433.jpg\" alt=\"\" class=\"wp-image-9177\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm13-1024x433.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm13-300x127.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm13-768x324.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm13-1536x649.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm13.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\"><li>Add a goal of the type \u201cOwn\u201d.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1ba4d1&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"427\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm14-1024x427-1.jpg\" alt=\"\" class=\"wp-image-9179\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm14-1024x427-1.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm14-1024x427-1-300x125.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm14-1024x427-1-768x320.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\"><li>Create any name and choose \u201cEvent\u201d in the section \u201cType.\u201d<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1ba7df&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"428\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm15-1024x428.jpg\" alt=\"\" class=\"wp-image-9180\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm15-1024x428.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm15-300x125.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm15-768x321.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm15-1536x641.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm15.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"8\"><li>Fill in the detailed information. You can indicate an ID of the particular CF7 form in the field \u201cLabel.\u201d<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1baace&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"433\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm16-1024x433.jpg\" alt=\"\" class=\"wp-image-9181\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm16-1024x433.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm16-300x127.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm16-768x325.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm16-1536x650.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm16.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"9\"><li>Save the goal, fill in the form and open \u201cReports\u201d in Google Analytics to check the conversions tracking.<\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f155e1bae00&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"436\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/08\/gtm17-1024x436.jpg\" alt=\"\" class=\"wp-image-9182\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm17-1024x436.jpg 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm17-300x128.jpg 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm17-768x327.jpg 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm17-1536x654.jpg 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/08\/gtm17.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Just like with Contact Form 7, you can set up the data transmission about form submission from any plugins. To do this, read the documentation for the extension and find the fitting event.&nbsp;<\/p>\n\n\n\n<p>oorsGTM features are more than just counting form conversions. It can help you see how your users interact with the content. For example, how many users watch videos, click links, and share content in social networks. Learning and testing Google Tag Manager will take some time but it will pay off over and above when all your users\u2019 actions spread before your eyes. This way, you will be able to better understand your audience\u2019s needs, change web page structure, and give your users what they really want.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Four Tips for New Users<\/h2>\n\n\n\n<p>1. Check settings in GTM.<\/p>\n\n\n\n<p>2. Use preview mode and extensions for debugging.<\/p>\n\n\n\n<p>3. Do not forget to publish the changes in the container.4. Test event and learn reports in Google Analytics.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many webmasters work with informational websites on a basic level. They update content, develop usability and work with social networks, but never pay attention to analytics. In this article, we\u2019ll discuss Google Tag Manager, a must-have instrument for any webmaster, that makes it easier to work with Google Analytics.<\/p>\n","protected":false},"author":9,"featured_media":9269,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","footnotes":""},"categories":[7],"tags":[49,413,414],"class_list":["post-9162","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advices","tag-analytics","tag-google-analytics","tag-google-tag-manager"],"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/9162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/comments?post=9162"}],"version-history":[{"count":4,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/9162\/revisions"}],"predecessor-version":[{"id":17576,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/9162\/revisions\/17576"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media\/9269"}],"wp:attachment":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media?parent=9162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/categories?post=9162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/tags?post=9162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}