Computer Support.

What is Google Analytics?

Google Analytics allows webmasters to keep track of how our website is doing in the World Wide Web.  From the amount of traffic coming to the site to what pages people are most interested in Google Analytics covers a wide range of useful analytical data to help improve our site and keep visitors coming, and hopefully joining CTiE.

Google Analytics is a service offered by Google that generates detailed statistics about a website's traffic it’s the most widely used website statistics service.

The basic service is free of charge and a premium version is available for a fee, this tracks individual users whilst we just obtain where the visitors come from.

Technical Snippet, skip if no interest to line

Google Analytics is implemented with "page tags". A page tag, in this case called the Google Analytics Tracking Code is a snippet of JavaScript code that the webmaster adds to every page of the website.

Example for our site: - The script below has to be entered on every page needing data to be extracted

Code for http://ewell4probus.org.uk

<script>

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-40003058-4', 'ewell4probus.org.uk');

  ga('send', 'pageview');

</script>

The tracking code runs in the client browser when the client browses the page (if JavaScript is enabled in the browser) and collects visitor data and sends it to a Google data collection server as part of a request for a web beacon.

The tracking code loads a larger JavaScript file from the Google webserver and then sets variables with the user's account number. The larger file (currently known as ga.js as above) is typically 18 KB. The file does not usually have to be loaded, though, because of browser caching. Assuming caching is enabled in the browser, it downloads ga.js only once at the start of the visit. Furthermore, as all websites that implement Google Analytics with the ga.js code use the same master file from Google, a browser that has previously visited any other website running Google Analytics will already have the file cached on their machine.

In addition to transmitting information to a Google server, the tracking code sets first party cookies (If cookies are enabled in the browser) on each visitor's computer. These cookies store anonymous information such as whether the visitor has been to the site before (new or returning visitor), the timestamp of the current visit, and the referrer site or campaign that directed the visitor to the page (e.g. search engine, keywords, banner or email).

Google Analytics can track visitors from all referrers, including search engines and social networks, direct visits and referring sites. It also tracks display advertising, pay-per-click networks, email marketing and digital collateral such as links within PDF documents.

Google Analytics is the most widely used website statistics service currently in use on around 55% of the 10,000 most popular websites. Another market share analysis claims that Google Analytics is used at around 49.95% of the top 1,000,000 websites

What this report shows is the number of visits and their origin for the selected period. You can see how many visits are coming from search how many visits are direct etc. (see below)

•Pages / Visit: the pages per visit, i.e. how many pages on average your readers are viewing before they leave our web site – the greater the number the better

•Avg. Visit Duration: How long (on average) our visitors stay on the site – the greater the number the better

•%New Visits: What percentage of the visitors are new readers

 

 

Above is a screen shot of one of CTiE sub domains

 giving all the page views looked at over the last month.

 

 

This is a screen shot from the above of some of the pages .

Please note the visitors are only identified from areas.

 

 

 

Above is a small sample of the data available others cover real time, type of browsers, devices, age, sex, interests etc.

Worth a look at the Analytical Google site for more details.