{"id":4128,"date":"2020-05-13T15:06:24","date_gmt":"2020-05-13T15:06:24","guid":{"rendered":"https:\/\/trackingchef.com\/?p=4128"},"modified":"2020-12-14T15:09:32","modified_gmt":"2020-12-14T12:09:32","slug":"adding-google-analytics-to-your-site","status":"publish","type":"post","link":"https:\/\/trackingchef.com\/google-analytics\/adding-google-analytics-to-your-site\/","title":{"rendered":"Adding Google Analytics to your site"},"content":{"rendered":"\n
There are multiple ways in which you can add the Google Analytics (GA) tracking code to your site.<\/p>\n\n\n\n
About half of the Top 1M websites use a CMS (Content Management System) of some sort (BuiltWith<\/a>), such as WordPress, Wix, Shopify etc.<\/p>\n\n\n\n Since Google Analytics is the most widely adopted web analytics tool (67% of Top 1M<\/a>), almost every modern CMS has either a built in feature for GA or multiple plugins to support the standard GA implementation.<\/p>\n\n\n\n If you have a standard implementation (i.e. no custom events or dimensions), you should probably stick to this solution.<\/p>\n\n\n\n I’ve added a quick walkthrough of the most popular platforms: WordPress, Wix & Shopify.<\/p>\n\n\n\n If you’re using WordPress, the world’s most popular CMS, you have several available plugins for adding GA to your site.<\/p>\n\n\n\n Site Kit by Google<\/a><\/strong> (Free)<\/p>\n\n\n\n This plugin, developed by Google, enables multiple Google tools for you website with one click: Google Analytics, Google Search Console and more. It can also be used to add the Google Tag Manager code to our site.<\/p>\n\n\n\n Monster Insights<\/a><\/strong> (Free, Pro plan available)<\/p>\n\n\n\n This is by far the most popular GA plugin for WordPress (more than Google’s!) with over 2M active installations.<\/p>\n\n\n\n Besides adding the GA code to the site, it also provides a neat analytics dashboard from directly inside your WordPress admin.<\/p>\n\n\n\n If you’re using Wix, then you can only add Google Analytics to sites with a connected domain (paid plan).<\/p>\n\n\n\n This will add the GA code to all pages on your site. If you have multiple domains on Wix, make sure you add it to your Primary domain.<\/p>\n\n\n\n Shopify store owners can add Google Analytics tracking on any plan. <\/p>\n\n\n\n Adding GA to your store will add the option to enable Enhanced Ecommerce tracking in GA. Enabling this tracking will reflect ecommerce data from your store in GA.<\/p>\n\n\n\n A recommended way to add GA, for more experienced users, is by using Google Tag Manager (GTM). With GTM, you can easily manage multiple analytics, advertising and other tags on your site. <\/p>\n\n\n\n Managing your tags via GTM provides several benefits:<\/p>\n\n\n\n To add GA to your site using GTM, you will first need to install GTM on your site (guide coming soon!).<\/p>\n\n\n\n After you have the GTM tag on your site, you can follow these steps:<\/p>\n\n\n\nWordPress<\/h3>\n\n\n\n
Wix<\/h3>\n\n\n\n
Shopify<\/h3>\n\n\n\n
Using Google Tag Manager<\/h2>\n\n\n\n