{"id":245,"date":"2010-06-25T13:28:26","date_gmt":"2010-06-25T13:28:26","guid":{"rendered":"http:\/\/www.techivity.com\/?p=245"},"modified":"2010-06-25T13:28:26","modified_gmt":"2010-06-25T13:28:26","slug":"google-analytics-getting-started","status":"publish","type":"post","link":"https:\/\/www.techivity.com\/?p=245","title":{"rendered":"Google Analytics: Getting Started"},"content":{"rendered":"<p>Google Analytics provides a wealth of information about website traffic; how many visitors are coming, where they comes from, and what they do while on a site.  We will set-up Google Analytics, show how to install trackign code into a page, WordPress or Joomla, and talk about how to read the information.<\/p>\n<p>First, you need a Google Account.  Analytics is accessed through a Google Account, so if you don&#8217;t have one, <a title=\"Sign Up for a Google Account\" href=\"https:\/\/www.google.com\/accounts\/NewAccount?continue=http:\/\/www.google.com\/&amp;hl=en\" target=\"_blank\">sign-up<\/a> for one.<\/p>\n<p>To start with Google Analytics, log-in to <a title=\"Log In to Google Analytics\" href=\"http:\/\/analytics.google.com\" target=\"_blank\">http:\/\/analytics.google.com<\/a> with your Google Account.\u00a0 If this is your first Google Analytics account, you&#8217;ll see the sign-up screen:<\/p>\n<p><a href=\"http:\/\/www.techivity.com\/wp-content\/uploads\/2010\/06\/ga1-1.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-248\" title=\"Google Analytics 1-1\" src=\"http:\/\/www.techivity.com\/wp-content\/uploads\/2010\/06\/ga1-1.jpg\" alt=\"Analytics Sign-Up Screen\" width=\"350\" height=\"171\" \/><\/a>Click on the &#8220;Sign Up&#8221; button.\u00a0 Fill in the address of your website, name your account (you can call it whatever you like) and pick the appropriate time-zone (make sure you do, so the reports are properly configured).<\/p>\n<p><a href=\"http:\/\/www.techivity.com\/wp-content\/uploads\/2010\/06\/ga1-2.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-250\" title=\"Google Analytics Signup\" src=\"http:\/\/www.techivity.com\/wp-content\/uploads\/2010\/06\/ga1-2.jpg\" alt=\"Sign-up For Google Analytics\" width=\"550\" height=\"285\" \/><\/a>The next few steps are pretty straight-forward; contact name, country, agree to the terms of service&#8230;and then you get your tracking code:<\/p>\n<pre>&lt;script type=\"text\/javascript\"&gt;\n\n var _gaq = _gaq || [];\n _gaq.push(['_setAccount', 'UA-17149732-1']);\n _gaq.push(['_trackPageview']);\n\n (function() {\n var ga = document.createElement('script'); ga.type = 'text\/javascript'; ga.async = true;\n ga.src = ('https:' == document.location.protocol ? 'https:\/\/ssl' : 'http:\/\/www') + '.google-analytics.com\/ga.js';\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n })();\n\n&lt;\/script&gt;<\/pre>\n<p>You want to keep that code.\u00a0 I would suggest selecting it, and pasting it into a notepad text file or an email to yourself (not a word doc, do not use word to store web code).\u00a0 At the bottom there is a button &#8220;Save and Finish&#8221; click that and you are done creating the account.<\/p>\n<p>Now, to add this code to your website, either you use a text or html editor and paste this code right over the tag that says &lt;\/head&gt; in your html file, as suggested by the <a title=\"Adding Google Analytics to HTML Code\" href=\"http:\/\/www.google.com\/support\/analytics\/bin\/answer.py?hl=en_US&amp;answer=174090&amp;utm_id=ad\" target=\"_blank\">instructions Google provides<\/a>.\u00a0 Or, you install a Word-Press or Joomla plugin and put just the account number into the plugin.<\/p>\n<p>The part you need for that out of the code above is the account number that starts &#8220;UA&#8221; &#8211; so this; &#8220;UA-17149732-1&#8221; &#8211; everything else is standard code, so your WordPress or Joomla plugin will create the code for you.\u00a0 I have a favorite <a href=\"http:\/\/www.techivity.com\/techtools\/google-analytics-for-wordpress-my-favorite-plugin\/\">WordPress plugin<\/a> but there are a great many, if you search for &#8220;Google Analytics&#8221; on either extensions.joomla.org or within the plugins section of your WordPress interface, you will find many options.<\/p>\n<p>As usual, if you have trouble, you can <a href=\"http:\/\/www.techivity.com\/contact-techivity\/\">contact Techivity<\/a> for help.\u00a0 Next up; getting into Google Analytics, the basic information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Analytics provides a wealth of information about website traffic; how many visitors are coming, where they comes from, and what they do while on a site. We will set-up Google Analytics, show how to install trackign code into a page, WordPress or Joomla, and talk about how to read the information. First, you need [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,5],"tags":[32,34,38,39],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.techivity.com\/index.php?rest_route=\/wp\/v2\/posts\/245"}],"collection":[{"href":"https:\/\/www.techivity.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techivity.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techivity.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techivity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=245"}],"version-history":[{"count":0,"href":"https:\/\/www.techivity.com\/index.php?rest_route=\/wp\/v2\/posts\/245\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.techivity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techivity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techivity.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}