{"id":2730,"date":"2012-05-04T23:09:37","date_gmt":"2012-05-04T23:09:37","guid":{"rendered":"http:\/\/2slick.com\/web\/?p=2730"},"modified":"2012-08-16T02:49:21","modified_gmt":"2012-08-16T02:49:21","slug":"how-do-i-get-google-analytics","status":"publish","type":"post","link":"https:\/\/2slick.com\/web\/how-do-i-get-google-analytics\/affordablewebsitestips\/tutorials","title":{"rendered":"How Do I Get Google Analytics"},"content":{"rendered":"<p>To get Google Analytics on your site you first have to create a Google Analytics account <a href=\"http:\/\/www.google.com\/analytics\/\">google.com\/analytics<\/a>. After you create the account you can then specify a website to track, and a code snippet will be given to you. You paste your code snippet into your website's theme admin or HTML to get Analytics working.<\/p>\n<h3>How to set up Google Analytics<\/h3>\n<ol>\n<li>First, you have to create a Google Analytics account. Log into any Google accounts you already have, whether it's Gmail, Google+, Youtube, etc. and skip to step 6. \u00a0If you don't have a Google Account, then proceed to step 2.<\/li>\n<li>Next create a Google Analytics account. Go to\u00a0<a href=\"http:\/\/www.google.com\/analytics\/\">google.com\/analytics<\/a>, and click on the 'Create an account' button.<\/li>\n<li>Click the 'SIGN UP' button, populate the fields and click the 'Create My Account' button.<\/li>\n<li>Click the verification email sent to your emaill account.<\/li>\n<li>In the next window Google will ask you if you would like to add a phone number to you account, just click the 'Click here to\u00a0continue.' link for now.<\/li>\n<li>Click the 'Sign up' button.<\/li>\n<li>Enter the name of your website in the 'Account Name' field.<\/li>\n<li>Enter the URL of your website in the 'Website's URL' field.<\/li>\n<li>Check the TOS box.<\/li>\n<li>Click the 'Create Account' button.<\/li>\n<li>Scroll down the page to the 'Paste this code in your site' box and copy the code snippet.<\/li>\n<\/ol>\n<p>You can paste this code within your header tags on every page you want tracked. If you are installing the Google Analytics code snippet in a WordPress website, follow the steps below.<\/p>\n<h3>Installing Google Analytics code snippet in your WordPress website<\/h3>\n<ol>\n<li>Log into your WordPress admin.<\/li>\n<li>Chances are you have a custom theme installed. Access your theme admin by clicking on your theme tab. There should be a large text field labeled 'Google Analytics'. Paste the code snippet in the field and save your changes.<\/li>\n<\/ol>\n<p>If you don't have a custom theme installed in your WordPress website, then you'll have to install the code snippet manually.<\/p>\n<h3>Installing Google Analytics into WordPressbefore the closing&lt;\/head&gt; tag<\/h3>\n<ol>\n<li>Log into your WordPress admin.<\/li>\n<li>Click on \"appearance'.<\/li>\n<li>Click on 'Editor'.<\/li>\n<li>Click on the 'Header' link on the right side of the page.<\/li>\n<li>Scroll through the header code, until you come to the closing head tage: <!--DEVFMTCODE--><pre class=\"devcodeblock\" title=\"Javascript\"><table class=\"devcodetools\"><tbody><tr><td>&nbsp;Javascript&nbsp;|&nbsp;<\/td><td style=\"background-image:url('https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/img\/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;\"\/><embed id=\"ZeroClipboard1\" src=\"https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/_zclipboard.swf\" loop=\"false\" menu=\"false\" quality=\"best\" bgcolor=\"#ffffff\" width=\"16px\" height=\"16px\" align=\"middle\" allowScriptAccess=\"always\" allowFullScreen=\"false\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" flashvars=\"id=1&width=16&height=16\" wmode=\"transparent\" \/><\/td><td>&nbsp;copy&nbsp;code&nbsp;|<\/td><td style=\"cursor:pointer\" title=\"DevFormatter Plugin\" onclick=\"devfmt_credits()\">?<\/td><td width=\"99%\">&nbsp;<\/td><\/tr><\/tbody><\/table><div class=\"devcodeoverflow\"><table class=\"devcodearea\" width=\"100%\"><tr><td class=\"devcodelines\" width=\"1%\">1<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\"> <span style=\"color: #339933;\">&amp;<\/span>lt<span style=\"color: #339933;\">;\/<\/span>head<span style=\"color: #339933;\">&amp;<\/span>gt<span style=\"color: #339933;\">;<\/span><\/pre><\/td><\/tr><\/table><\/div><\/pre><!--END_DEVFMTCODE--><\/li>\n<li>Paste the code snippet just above the closing head tag.<br \/>\n<a href=\"http:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/past_analytics_code_above_header.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2736\" style=\"border-image: initial; border: 1px solid black;\" title=\"past_analytics_code_above_header\" src=\"http:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/past_analytics_code_above_header.jpg\" alt=\"\" width=\"600\" height=\"600\" srcset=\"https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/past_analytics_code_above_header.jpg 600w, https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/past_analytics_code_above_header-150x150.jpg 150w, https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/past_analytics_code_above_header-300x300.jpg 300w, https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/past_analytics_code_above_header-36x36.jpg 36w, https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/past_analytics_code_above_header-90x90.jpg 90w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<\/ol>\n<p>You now have Google Analytics installed on your website, and you can access your stats by logging into to your Google Analytics account. For a quick overview on how to use Google Analytics <a title=\"how to use google analytics\" href=\"http:\/\/2slick.com\/web\/how-to-view-a-google-analytics-report-for-a-specific-day-or-days\/affordablewebsitestips\/tutorials\" target=\"_blank\">go here<\/a>:<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To get Google Analytics on your site you first have to create a Google Analytics account google.com\/analytics. After you create the account you can then specify a website to track, and a code snippet will be given to you. You paste your code snippet into your website&#8217;s theme admin or HTML to get Analytics working. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4978,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,285,143,4],"tags":[48],"class_list":["post-2730","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-affordablewebsitestips","category-business-affordablewebsitestips","category-internet-tips","category-tutorials","tag-google-analytics"],"_links":{"self":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/2730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/comments?post=2730"}],"version-history":[{"count":8,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/2730\/revisions"}],"predecessor-version":[{"id":2739,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/2730\/revisions\/2739"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media\/4978"}],"wp:attachment":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media?parent=2730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/categories?post=2730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/tags?post=2730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}