{"id":21901,"date":"2019-05-06T13:35:11","date_gmt":"2019-05-06T11:35:11","guid":{"rendered":"https:\/\/belvg.com\/blog\/?p=21901"},"modified":"2023-10-31T19:03:12","modified_gmt":"2023-10-31T17:03:12","slug":"how-to-set-up-magento-google-analytics","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html","title":{"rendered":"How to Set up Magento Google Analytics? Step-by-step Instruction"},"content":{"rendered":"\n<p><span style=\"font-weight: 400\">Today<\/span>, the vast majority of businesses around the world have a digital presence in the form of an online store. Yet, in a modern competitive environment, a webstore is not enough &ndash; an owner needs to be constantly aware of how it performs and whether it yields results, i.e. attracts customers and generates value.<\/p>\n<p><!--more--><\/p>\n<p>Google Analytics is the world&rsquo;s most widely used web service for measuring traffic, visitors&rsquo; behavior and digital marketing effectiveness, so if you have never used Google Analytics to track the results of your Magento online store, it is high time you considered introducing it.<\/p>\n<p><strong>Table of contents:<\/strong><\/p>\n<p><a href=\"#step_1\">What is Google Analytics<br>\n<\/a><a href=\"#step_2\">Why does your store need Google Analytics<br>\n<\/a><a href=\"#step_3\">How to install Google Analytics for Magento 2: a step-by-step guide<br>\n<\/a><a href=\"#step_4\">How to set up goals in Google Analytics account<\/a><\/p>\n<h2 id=\"step_1\">What is Google Analytics<\/h2>\n<p>Google Analytics is a free service for tracking and reporting website activity and traffic, launched back in 2005. It provides store owners with detailed metrics and reports on the number of visitors and their demographic data, sessions duration and pages per session, bounce rate and source of the traffic, and visualizes this data into comprehensive charts and graphs. Google analytics is not only a powerful stand-alone tool, but it also can be linked with Google AdWords, an online advertising platform. This way, no click or impression of your ad will be undocumented, and a store owner gets a detailed and precise report on their potential customer activity and ads performance. What is more, recently Google Analytics has expanded its boundaries and now can be used to measure the engagement of mobile apps for both Android and IOS. The quality and content of reports for mobile apps is up to par with the analytics for websites, which speaks volumes about the Google quality of services.<\/p>\n<h2 id=\"step_2\">Why does your store need Google Analytics<\/h2>\n<p>Google Analytics is a powerful tool that will provide you with you a full picture of your online business performance. Its graphs and charts, based on a number of critical metrics, will give you clear insigns into the strength and weaknesses of your website or online store. In particular, with Google Analytics, you will have definite answers to the five following questions.<\/p>\n<ul>\n<li><strong>How many people visit your website daily<\/strong>. Get a detailed account of the overall number of visitors, the new and the returned ones, and track the visitors&rsquo; dynamics daily.<\/li>\n<li><strong>Who your visitors are and where they come from<\/strong>. Detailed demographics reports will provide you a great many useful data on age, sex, geography, interests, etc. of your audience.<\/li>\n<li><strong>What pages or content is the most popular among your visitors<\/strong>. With such data, you can produce more engaging content that your audience will for sure like as well as power up the pages with less traffic to meet the quality standards.<\/li>\n<li><strong>When and why do visitors leave your website<\/strong>. Unfortunately, large visitor traffic does not always mean a good conversion rate. But with Google Analytics, you will get clear reports on your bounce rate and how many time customers spend on each page, allowing you to act on your weakest spots.<\/li>\n<li><strong>Are you achieving your business goals<\/strong>. With Analytics by Google, you can not only see the real-time data, but also track the progress of your business towards the individual goals you set up yourself, be it either the time spent on a certain page, click of a certain button, play of a video or filled in contact forms.<\/li>\n<\/ul>\n<h2 id=\"step_3\">How to install Google Analytics for Magento 2: a step-by-step guide<\/h2>\n<p><strong>Step #0<\/strong>: create a Google account (if you do not have one).<\/p>\n<p>The chances are high that you already have a Google account, but in case you use it for strictly personal or working purposes and do not wish to mix things up with Google Analytics, then it is up to you to create a new account for analytics only.<\/p>\n<p>A piece of advice for business owners: even if you put another employee in charge of creating and managing enterprise Analytics account, use your own Google account to set it up. This way, even if the person responsible for Google Analytics will leave the organization, the valuable data will remain intact with you.<\/p>\n<p><strong>Step #1<\/strong>: go to <a href=\"https:\/\/www.google.com\/analytics\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.google.com\/analytics\/<\/a> and press <strong>Start for free<\/strong> button.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Start-for-free-button.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21902\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Start-for-free-button.png\" alt=\"Start for free button prestashop\" width=\"1600\" height=\"682\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: press the <strong>Sign up<\/strong> button in the <strong>Start using Google Analytics<\/strong> section.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/press-the-Sign-up-button.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-21903\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/press-the-Sign-up-button.png\" alt=\"press the Sign up button\" width=\"605\" height=\"163\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>As a welcoming message, you will see the following 3-step Google Analytics instruction, explaining the course of action for setting up a Google Analytics.<\/p>\n<p><strong>Step #3<\/strong>: fill in the <strong>New Account<\/strong> information.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/new-account-info.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21904\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/new-account-info.png\" alt=\"new account info\" width=\"535\" height=\"857\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Set up the following fields:<\/p>\n<ul>\n<li>What would you like to track?<\/li>\n<\/ul>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/new-account-google-analytics.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21905\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/new-account-google-analytics.png\" alt=\"new account google analytics\" width=\"432\" height=\"199\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Just for your information &ndash; Google Analytics has the ability to track mobile app performance, which is a great addition in itself, yet for a Magento store analytics you need to select <strong>Website<\/strong> option.<\/p>\n<ul>\n<li>Account name<\/li>\n<\/ul>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Account-name.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21906\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Account-name.png\" alt=\"Account name\" width=\"399\" height=\"144\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Enter your new account name. According to Google Analytics capabilities, you can have up to 100 accounts in a single Google account, so if you are planning to set up some more, it is better, for the sake of clarity, to give them clear distinct names that will set the accounts apart from each other.<\/p>\n<ul>\n<li>Website URL<\/li>\n<\/ul>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/website-url.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21907\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/website-url.png\" alt=\"website url\" width=\"368\" height=\"88\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Enter the link to the website you want Google Analytics to track.<\/p>\n<ul>\n<li>Industry Category<\/li>\n<\/ul>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/industry-categories.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21908\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/industry-categories.png\" alt=\"industry categories\" width=\"261\" height=\"374\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/industry-categories-2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-21909\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/industry-categories-2.png\" alt=\"industry categories 2\" width=\"262\" height=\"351\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Set up the industry your business belongs to. Google offers a detailed list of enterprise categories, including Beauty and Fitness, Computer and Electronics, Sports, Real Estate and so on, but if your store does not belong to any from the drop-down list, just select Other option.<\/p>\n<ul>\n<li>Reporting Time Zone<\/li>\n<\/ul>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/reporting-time-zone.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21910\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/reporting-time-zone.png\" alt=\"reporting time zone\" width=\"474\" height=\"104\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Set up the time zone you want to set up the day boundaries for your reports based on where your business is located.<\/p>\n<ul>\n<li>Data Sharing Settings<\/li>\n<\/ul>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/data-sharing-settings.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21911\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/data-sharing-settings.png\" alt=\"data sharing settings\" width=\"1600\" height=\"309\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Google Analytics will collect a great many data for you and is responsible for its security and confidentiality. At the same time, the service can make great use of the information it gathered for you, both for critical and emergency operations and Google internal analytics and tracking. In the following <strong>Data Sharing Settings<\/strong> you set up for what purposes you allow Google Analytics to use your data.<\/p>\n<ul>\n<li><strong>Google products &amp; services<\/strong> &ndash; share your data to be utilized for further Google products and services&rsquo; improvement.<\/li>\n<li><strong>Benchmarking<\/strong> &ndash; your data will be anonymously contributed to calculate and understand global trends.<\/li>\n<li><strong>Technical support<\/strong> &ndash; you allow your data to be accessed in case of technical issues with the account.<\/li>\n<li><strong>Account specialists<\/strong> &ndash; provide access to your data to your own sales analysts or the ones from Google Analytics so that they could give you recommendation on your strategy optimization and improvement.<\/li>\n<\/ul>\n<p>If you want to make sure Google is not going to use your data for malicious purposes, you can learn how the platform safeguards following the link below the checkboxes.<\/p>\n<div class=\"content_sales_info\" style=\"background-image: url(https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/03\/Sales_background.png\"><img width=\"65\" height=\"65\" src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2015\/11\/Vlad-Yunusov-middle.png\" alt=\"Vlad Yunusov\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><div class=\"content_part\"><h3 class=\"title\">Partner With Us <\/h3><span class=\"sales_content_text\">Let's discuss how to grow your business. Get a Free Quote.<\/span><\/div> <a class=\"call-to-action\" href=\"https:\/\/belvg.com\/contact?utm_source=blog&amp;utm_campaign=sales_block&amp;utm_content=middle\" target=\"_blank\" rel=\"noopener\">Talk to Vlad<\/a><\/div>\n<p><strong>Step #4<\/strong>: press <strong>Get Tracking ID<\/strong> button.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/get-tracking-id.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21912\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/get-tracking-id.png\" alt=\"get tracking id\" width=\"259\" height=\"128\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>The following fields with <strong>Terms of Service Agreement<\/strong> and <strong>Additional Terms Applicable to Data Shared with Google<\/strong> will appear. Press <strong>Accept<\/strong> to continue.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Terms-of-Service-Agreement.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21913\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Terms-of-Service-Agreement.png\" alt=\"Terms of Service Agreement\" width=\"736\" height=\"550\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Additional-Terms-Applicable-to-Data-Shared-with-Google.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21914\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Additional-Terms-Applicable-to-Data-Shared-with-Google.png\" alt=\"Additional Terms Applicable to Data Shared with Google\" width=\"733\" height=\"680\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p><strong>Step #5:<\/strong> get your tracking ID and website tracking code.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/tracking-ID-and-website-tracking-code.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21915\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/tracking-ID-and-website-tracking-code.png\" alt=\"tracking ID and website tracking code\" width=\"1600\" height=\"799\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Google generated a tracking ID number and a Global Site Tag. The ID is needed to be embedded in your Magento admin panel, while the tag should be installed directly into the code at every page.<\/p>\n<p><strong>Step #6<\/strong>: embed a Google Analytics tracking ID number into the Magento back office.<\/p>\n<p>Log in to the back office and navigate to <strong>Stores<\/strong> -&gt; <strong>Configuration<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Stores-configuration-magento.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21916\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Stores-configuration-magento.png\" alt=\"Stores configuration magento\" width=\"562\" height=\"661\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Expand the <strong>Sales<\/strong> section and press the <strong>Google API<\/strong> tab.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/sales-google-api.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21917\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/sales-google-api.png\" alt=\"sales google api\" width=\"433\" height=\"584\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Set <strong>Enable<\/strong> at <strong>Yes<\/strong> and paste the ID number you got to the <strong>Account number<\/strong> field.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/google-analytics-configuration.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21918\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/google-analytics-configuration.png\" alt=\"google analytics configuration\" width=\"1361\" height=\"368\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Press <strong>Save Config<\/strong> when done.<\/p>\n<p>The Google Analytics Code is successfully installed into your Magento 2.<\/p>\n<p><strong>Step #7<\/strong>: embed Google Site Tag.<\/p>\n<p>Copy the code Google generated for you and paste it into the &lt;HEAD&gt; of every page you want to track.<\/p>\n<p>Done! Your Google Analytics is set up, and as you log into your newly set account, you will see your first pieces of data there.<\/p>\n<h2 id=\"step_4\">How to set up goals in Google Analytics account<\/h2>\n<p>In Google Analytics, goals are the important events that happen to your website and that you set up yourself. We believe that goals are the cornerstone of your work with Google Analytics, therefore it is advisable to set them up right away, as soon as you have created a Google Analytics account.<\/p>\n<p>Follow this instruction to create a new Google Analytics goal:<\/p>\n<p><strong>Step #1<\/strong>: go to the <strong>Admin<\/strong> section of the account and select <strong>Goals<\/strong> in the tab on the left.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Artboard-1-38.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21938\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/Artboard-1-38.png\" alt=\"example store\" width=\"1762\" height=\"797\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: press <strong>+New Goal<\/strong> button.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/111-3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21937\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/111-3.png\" alt=\"new goal\" width=\"420\" height=\"149\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p><strong>Step #3<\/strong>: select a goal template or create your own.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/goal-setup-2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21933\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/goal-setup-2.png\" alt=\"goal setup \" width=\"747\" height=\"794\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>If any of the goals listed below suits your plans, then select the matching one. In case not, create your own by selecting the <strong>Custom<\/strong> option. Press <strong>Next Step<\/strong> button.<\/p>\n<p><strong>Step #4<\/strong>: set up the <strong>Goal Description.<\/strong><\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/goal-analytics-2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21932\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/goal-analytics-2.png\" alt=\"goal analytics (2)\" width=\"886\" height=\"791\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Enter the <strong>Name<\/strong> of the goal, <strong>Goal Slot ID<\/strong> and goal <strong>Type<\/strong>. Press <strong>Next Step<\/strong> button.<\/p>\n<p><strong>Step #5<\/strong>: specify the <strong>Goal Details<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/goal-settings-2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21935\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/goal-settings-2.png\" alt=\"goal settings \" width=\"846\" height=\"785\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><\/a><\/p>\n<p>Enter the link to a thank you or a confirmation page. You can also choose to set up a monetary <strong>Value<\/strong> of the conversions and a <strong>Funnel<\/strong>, or a certain path you expect the traffic to take towards the destination.<\/p>\n<p>Press <strong>Create Goal<\/strong> button.<\/p>\n<p>It is possible to create up to 20 goals for one website, yet make sure they stand for the events indeed relevant to your business.<\/p>\n<h2>Wrapping it up<\/h2>\n<p>In this article, we gave a detailed account of what Google Analytics is and how to set it up for a Magento webstore. We hope it will come of use to a number of Magento store admins and business owners who wish to track the performance of their webstore. If you have any questions or comments, feel free to leave them down below.<\/p>\n<p>Need quality Magento extensions and themes? Visit our <a href=\"https:\/\/store.belvg.com\/\" target=\"_blank\" rel=\"noopener\">store<\/a>!<\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/store.belvg.com\/\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><img src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/04\/Extensions_for_Magento_2.png\" width=\"120\" height=\"120\" alt=\"Extensions for Magento 2\" class=\"module_image\" title=\"How to Set up Magento Google Analytics? Step-by-step Instruction\"><div class=\"module_content_part\"><h3 class=\"title\">Magento Extensions by BelVG<\/h3><p class=\"module_content_text\">Take your online store to the next level <\/p><a href=\"https:\/\/store.belvg.com\/\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Download here<\/span><\/a><\/div><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"Today, the vast majority of businesses around the world have a digital presence in the &#8230;","protected":false},"author":102,"featured_media":21927,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[474,14,491,536,539,525],"tags":[],"class_list":["post-21901","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-ecommerce","category-magento","category-magento-2","category-magento-crm-integration","category-magento-marketing-integration","category-magento-seo","post_format-post-format-image"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Put Google analytics code in Magento store to allow you to monitor your website. Get all insights to track your online business.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Darya Monastyrskaya\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#article\",\"name\":\"How to Set up Magento Google Analytics | BelVG Blog\",\"headline\":\"How to Set up Magento Google Analytics? Step-by-step Instruction\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/How-to-Set-up-Magento-Google-Analytics-Step-by-step-instruction.png\",\"width\":1108,\"height\":590,\"caption\":\"How to Set up Magento Google Analytics\"},\"datePublished\":\"2019-05-06T13:35:11+02:00\",\"dateModified\":\"2023-10-31T19:03:12+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#webpage\"},\"articleSection\":\"ECOMMERCE, Magento, Magento 2, Magento CRM Integration, Magento Marketing Integration, Magento SEO, Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"position\":2,\"name\":\"Magento\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#listItem\",\"name\":\"How to Set up Magento Google Analytics? Step-by-step Instruction\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#listItem\",\"position\":3,\"name\":\"How to Set up Magento Google Analytics? Step-by-step Instruction\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m\",\"name\":\"Darya Monastyrskaya\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/28b29b718ed4c89fdf9f3f024e76e42b5611c29dee49d6303faa7ce8354a8fc5?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Darya Monastyrskaya\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html\",\"name\":\"How to Set up Magento Google Analytics | BelVG Blog\",\"description\":\"Put Google analytics code in Magento store to allow you to monitor your website. Get all insights to track your online business.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/How-to-Set-up-Magento-Google-Analytics-Step-by-step-instruction.png\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html\\\/#mainImage\",\"width\":1108,\"height\":590,\"caption\":\"How to Set up Magento Google Analytics\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-google-analytics.html#mainImage\"},\"datePublished\":\"2019-05-06T13:35:11+02:00\",\"dateModified\":\"2023-10-31T19:03:12+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Set up Magento Google Analytics | BelVG Blog","description":"Put Google analytics code in Magento store to allow you to monitor your website. Get all insights to track your online business.","canonical_url":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#article","name":"How to Set up Magento Google Analytics | BelVG Blog","headline":"How to Set up Magento Google Analytics? Step-by-step Instruction","author":{"@id":"https:\/\/belvg.com\/blog\/author\/dasha-m#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/How-to-Set-up-Magento-Google-Analytics-Step-by-step-instruction.png","width":1108,"height":590,"caption":"How to Set up Magento Google Analytics"},"datePublished":"2019-05-06T13:35:11+02:00","dateModified":"2023-10-31T19:03:12+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#webpage"},"articleSection":"ECOMMERCE, Magento, Magento 2, Magento CRM Integration, Magento Marketing Integration, Magento SEO, Image"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/belvg.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","position":2,"name":"Magento","item":"https:\/\/belvg.com\/blog\/category\/magento","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#listItem","name":"How to Set up Magento Google Analytics? Step-by-step Instruction"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#listItem","position":3,"name":"How to Set up Magento Google Analytics? Step-by-step Instruction","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}}]},{"@type":"Organization","@id":"https:\/\/belvg.com\/blog\/#organization","name":"BelVG Blog","description":"Magento and Prestashop articles","url":"https:\/\/belvg.com\/blog\/"},{"@type":"Person","@id":"https:\/\/belvg.com\/blog\/author\/dasha-m#author","url":"https:\/\/belvg.com\/blog\/author\/dasha-m","name":"Darya Monastyrskaya","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/28b29b718ed4c89fdf9f3f024e76e42b5611c29dee49d6303faa7ce8354a8fc5?s=96&d=mm&r=g","width":96,"height":96,"caption":"Darya Monastyrskaya"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#webpage","url":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html","name":"How to Set up Magento Google Analytics | BelVG Blog","description":"Put Google analytics code in Magento store to allow you to monitor your website. Get all insights to track your online business.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/dasha-m#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/dasha-m#author"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/05\/How-to-Set-up-Magento-Google-Analytics-Step-by-step-instruction.png","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html\/#mainImage","width":1108,"height":590,"caption":"How to Set up Magento Google Analytics"},"primaryImageOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html#mainImage"},"datePublished":"2019-05-06T13:35:11+02:00","dateModified":"2023-10-31T19:03:12+02:00"},{"@type":"WebSite","@id":"https:\/\/belvg.com\/blog\/#website","url":"https:\/\/belvg.com\/blog\/","name":"BelVG Blog","description":"Magento and Prestashop articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"21901","title":"How to Set up Magento Google Analytics | #site_title","description":"Put Google analytics code in Magento store to allow you to monitor your website. Get all insights to track your online business.","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-03 18:36:46","updated":"2026-11-03 18:36:46"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/magento\" title=\"Magento\">Magento<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Set up Magento Google Analytics? Step-by-step Instruction\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Magento","link":"https:\/\/belvg.com\/blog\/category\/magento"},{"label":"How to Set up Magento Google Analytics? Step-by-step Instruction","link":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-google-analytics.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/21901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/users\/102"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=21901"}],"version-history":[{"count":-2,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/21901\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media\/21927"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=21901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=21901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=21901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}