{"id":42756,"date":"2021-08-26T17:37:12","date_gmt":"2021-08-26T14:37:12","guid":{"rendered":"https:\/\/lanet.click\/?p=42756"},"modified":"2025-09-26T22:19:25","modified_gmt":"2025-09-26T19:19:25","slug":"dodati-sait-v-google-analytics","status":"publish","type":"post","link":"https:\/\/lanet.click\/en\/dodati-sait-v-google-analytics\/","title":{"rendered":"How to add a website to Google Analytics"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">To find out more data about your site \u2014 to see the target audience, analyze content, see how changing the structure and design of the site affects its traffic \u2014 you need a special tool. Google Analytics is one of these tools.<\/span><\/p>\n<h2>What is Google Analytics<\/h2>\n<p><span style=\"font-weight: 400;\">Google Analytics (GA) is a free Google service that creates detailed statistics about website visitors. The site&#8217;s web analytics is generated on the Google service thanks to the Javascript tracking code (JS code) installed on the pages.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">After you add Google Analytics to your site, about three hundred new possibilities will open up to you. Let&#8217;s analyze the most important ones.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lanet.click\/wp-content\/uploads\/2021\/08\/chto_takoe_google_analytics_.svg\" width=\"1041\" height=\"586\" \/><\/p>\n<h3>Traffic sources<\/h3>\n<p><span style=\"font-weight: 400;\">This tool identifies the internet traffic of a website from various channels.<\/span><\/p>\n<h3>Conversions<\/h3>\n<p><span style=\"font-weight: 400;\">Data shows a website\u2019s effectiveness in persuading a visitor to take a certain targeted action.<\/span><\/p>\n<h3>Behavioral factors<\/h3>\n<p><span style=\"font-weight: 400;\">Statistics show visitor engagement. It helps to determine the success of your web resource partially.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">In addition, Google Analytics is integrated with Google Ads. Analysis of the data obtained by Google Analytics allows you to optimize advertising and marketing campaigns in Google Ads. In particular, your <a href=\"https:\/\/lanet.click\/en\/kontekstna-reklama\/\">contextual advertising<\/a> can become better. All this gives you reasons to make the formation of leads more successful (lead generation) and increase your site&#8217;s position in search results (<a href=\"https:\/\/lanet.click\/en\/seo\/\">SEO<\/a>).\u00a0<\/span><\/p>\n<h2>Instruction: how to add a website to Google Analytics<\/h2>\n<p><span style=\"font-weight: 400;\">To add a site to Google Analytics, follow these instructions.<\/span><\/p>\n<h3>Create an account<\/h3>\n<p><span style=\"font-weight: 400;\">First, you need to go to the service&#8217;s website and register. If you have a Google account, enter your data and click Next.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Then, to add the site to Google Analytics, create an account:<\/span><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Decide what you are going to track: a web resource or a smartphone application.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Add an account name.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Enter your site&#8217;s name.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Enter its URL.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click on the desired industry (for example, shopping).<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Specify the country and time zone of your website audience.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">When setting up data sharing after you have added Google Analytics to your site, it is advisable not to remove the automatically checked checkboxes \u2014 this will allow Google to improve the service.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lanet.click\/wp-content\/uploads\/2021\/08\/sozdanie_akkaunta.svg\" width=\"1051\" height=\"591\" \/><\/p>\n<h3>Setting a tracking code<\/h3>\n<p><span style=\"font-weight: 400;\">Click on the Get Tracking ID button and confirm the user agreement \u2014 a window with the tracking code will immediately open. Then you should send the data to Google Analytics. There are two ways to do this:<\/span><\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Add the Google Analytics code to the site on all pages you want to track using the tag &lt;\/head&gt;.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Add code to pages from the Google Tag Manager service.<\/span><\/li>\n<\/ol>\n<h3>Basic setting<\/h3>\n<p><span style=\"font-weight: 400;\">To add a site to Google Analytics and then access the reports, you need to set up a data view. When you add a new site to Google Analytics, the first view with all available data is automatically created in the account. To view more relevant and important data, you need to create additional views and set filters.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">You can configure the view in the admin panel in the View Settings section. For this, you need to:<\/span><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">specify the currency that will be displayed in the reports;<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">turn on the bot filter so that they do not worsen network traffic statistics;<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">turn on search engine queries tracking your site to know what users are searching for the most.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">To properly connect Google Analytics to the site, you need to add goals. They allow you to evaluate the actions of visitors on the website that are optimal for you, that is, conversions. It will help you better understand the user&#8217;s actions before the purchase. In addition, you will know what (key, channel, or ad) brought the sale. To set up goals, go to the View column and click on Goals. Then click on +New Goal and select the Custom template. Then choose one of the goal types (landing page, duration, pages\/screens per session, event). Next, you need to set the goal conditions. Important parameters are Category and Action.<\/span><\/p>\n<h3>Resource settings<\/h3>\n<p><span style=\"font-weight: 400;\">Setting up a resource includes, in particular, the exclusion of unwanted sources of Internet traffic. It is necessary if you do not have built-in payment on your site. Because when a user goes to the site of the payment system and then returns to your web resource, Google Analytics considers transitions from payment systems to be a new session. You can turn off unwanted sources in this way: in the Resource menu, click Tracking Code, then select Referral Exclusions List.<\/span><\/p>\n<h3>Installing analytics with <a href=\"https:\/\/lanet.click\/en\/shcho-take-google-tag-manager\/\">Google Tag Manager<\/a> (GTM)<\/h3>\n<p><span style=\"font-weight: 400;\">We have already figured out how to add a site to Google Analytics by creating an account and setting up resources. You can also add Google Analytics to the site using the Tag Manager. It is intuitive, helps to speed up the website, and saves time for specialists to edit the website code. To add Google Analytics to a site with GTM, perform the following steps:<\/span><\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><strong>Go to the GTM site and sign in to the Google account you want.<\/strong> Name the container (you can enter your URL) and agree to the user terms. Next, a window with your GTM code will appear. The window also indicates where to insert code fragments.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><strong>Then go to the Variables tab and click Create.<\/strong> In the utilities section, select the Google Analytics settings, specify the GA tracking ID, and go to the Advanced settings section. Then you need to click on Advertising and enable the features for the contextual media network. These actions activate remarketing in Google Analytics and statistics based on interests and demographics.<\/span><\/li>\n<\/ol>\n    <div class=\"read-block\">\n        <p>\n            Read also:            <a href=\"https:\/\/lanet.click\/en\/vidi-trafiku-na-sayt\/\" target=\"_blank\" rel=\"noopener\">\n                What are the types of traffic to the site            <\/a>\n        <\/p>\n    <\/div>\n    \n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lanet.click\/wp-content\/uploads\/2021\/08\/ustanovka_analitiki.svg\" alt=\"\" width=\"1056\" height=\"594\" \/><\/p>\n<h3>Access control and linking to Search Console (GSC)<\/h3>\n<p><span style=\"font-weight: 400;\">The Google Analytics tracking code will allow you to add your site to Google Search Console. For this, you need to log in to GSC, click on Add a resource in the list, and choose the Google Analytics code from the proposed methods of proving ownership.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To find out more data about your site \u2014 to see the target audience, analyze content, see how changing the [&hellip;]<\/p>\n","protected":false},"author":61,"featured_media":42766,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[232,236],"tags":[],"class_list":["post-42756","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-contextual-advertising","category-web-analytics"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/posts\/42756"}],"collection":[{"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/users\/61"}],"replies":[{"embeddable":true,"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/comments?post=42756"}],"version-history":[{"count":0,"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/posts\/42756\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/media\/42766"}],"wp:attachment":[{"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/media?parent=42756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/categories?post=42756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lanet.click\/en\/wp-json\/wp\/v2\/tags?post=42756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}