SlideShare une entreprise Scribd logo
1  sur  29
Google
Analytics
for SEO
Beginners
By: Aditya Todawal
What is Web Analytics?
• The analysis of qualitative and quantitative data from your website and
the competition, to drive a continual improvement of the online
experience that your customers, and potential customers have, which
translates into your desired outcomes (online and offline).
- Avinash Kaushik
• This definition encapsulates three main tasks every business must tackle
when doing web analytics:
– Measuring quantitative and qualitative data
– Of our own website as well as competitor’s
– Continuously improving your website
– Aligning your measurement strategy with your business strategy
Creating an Implementation Plan
1. Gather and document business requirements.
2. Analyze and document website architecture.
3. Create a Google Analytics account and configure profiles.
4. Configure the Google Analytics tracking code and tag website pages.
5. Tag marketing campaigns.
6. Create additional user accounts and configure the following reporting
features:
• Report access
• Automated email report delivery
• Reporting customizations (Custom Reports, Advanced Segments)
7. Perform the following optional configuration steps:
• Enable e-commerce transaction tracking
• Implement event tracking
• Implement custom variables
How Google Analytics Works
• Google Analytics uses a common data collection technique called page tags.
• A page tag is a small piece of JavaScript that you must place on all the
website pages you want to track.
• We affectionately call this code the Google Analytics Tracking Code, or GATC
for short.
• The data collection process begins when a visitor requests a page from the
web server.
• The server responds by sending the requested page back to the visitor’s
browser (See next figure). As the browser processes the data, it contacts
other servers that may host parts of the requested page, like images, videos,
or script files. This is the case with the GATC.
Google Analytics processing flow
The Google Analytics Tracking Code
(GATC)
• The following is the GATC JavaScript snippet:
<script type="text/javascript">
var _gaq = _gaq || [];❶
_gaq.push(['_setAccount', 'UA-XXXXXX-YY']);
_gaq.push(['_trackPageview']);
(function() {❷
var ga = document.createElement('script'); ga.type = 'text/javascript';
ga.async = true; ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';❸
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
The Google Analytics Tracking Code
(GATC)
❶This part of the tracking code does all of the work. It starts by creating a
queue (named _gaq), or list of Google Analytics commands. These commands
are also called methods. When you want Google Analytics to do something,
you add, or push, a command into the queue.
The standard page tag adds the first two methods to the queue for you.
• The first method is _setAccount().
• The second method, _trackPageview().
The Google Analytics Tracking Code
(GATC)
❷Before any code can execute the ga.js file, which contains all of the Google
Analytics logic, this code loads that logic into the browser and requests ga.js
from a Google server. This file is geo-load-balanced across all of Google’s
global data centers. This means the visitor’s browser will connect with the
closest data center to reduce the time it takes to retrieve the file.
How to host ga.js on a local server
• To host the ga.js locally, copy the contents of ga.js by viewing the file in your
browser. Just enter http://www.google-analytics.com/ga.js in your browser,
copy the resulting code, and place it in a file on your server.
• Update the GATC to reference the new file location on your server.❸
• Periodically check for updates. Google publishes a ga.js change log at
http://code.google.com/apis/analytics/community/gajs_changelog.html.
Google Analytics Accounts and
Profiles
• Google Account is different from Google Analytics Account.
• Once you have a Google account, Google attaches various services to your account. These
services can include Gmail, Google Docs, AdWords, etc.
• Google ties the data coming from your website to your Google Analytics account using a unique
account number. E.g.: 'UA-XXXXXX-YY‘.
• The XXXXXX is your account number. The YY part is the profile number. When combined in the
format UA-XXXXXX-YY, it is called the profile ID.
• You can access multiple Google Analytics accounts simply by adding your Google account to an
existing Google Analytics account.
• Within a Google Analytics account is a structure called a profile. Most people think of a profile as
the data from a website. But in fact a profile is a collection of data and configuration settings.
• It is possible, and actually recommended, to have multiple profiles for each of your websites.
• You are allowed to create up to 25 Google Analytics Account and you can have up to 50 profiles
in one Google Analytics account.
Creating a Google Analytics Account
You can create Google Analytics Account using two methods:
• You can create a Google Analytics account at http://www.google.com/analytics.
• The recommended way to create a Google Analytics account is through AdWords, because it’s
easier to link your AdWords account to your Analytics account.
• To create one from AdWords log in to your AdWords account and choose Google Analytics in the
Reporting menu. Next, enable the Create my Free Google Analytics Account option and click
Continue.
**You should not add your clients as profiles in your Google Analytics account. Create a separate
Google Analytics account specifically for each of your clients.
Creating a Google Analytics Account
Steps To create an Analytics account:
• Visit http://www.google.com/analytics.
• Enter your Google Account email and password and click Sign In. If you don't have a Google
Account, click Sign up now to create one.
• Click Sign Up.
• Enter your Website's URL, making sure to select either http:// or https:// from the drop-down
list. Enter a nickname for this account in the Account Name field, then click Continue.
• Enter your contact information and click Continue.
• Read the Google Analytics Terms of Service. If you agree to these terms, select the Yes checkbox
and click Create New Account to continue.
• The Tracking Instructions page that appears contains the tracking code that you'll need to paste
into each page of your site.
Creating a Google Analytics Account
Access Level
• There are two types of users in Google Analytics: users and administrators.
• Administrators have complete access to everything in a Google Analytics account. They can view
all of the data and they can change any setting.
• Users can only access data in profiles that they have been given access to. They cannot change
any settings.
• You can use the User Manager on the main account page to add users to your Analytics account.
Creating a Google Analytics Account
Setting the Default Page
• Setting the default page for a website is a simple configuration step that ensures the quality of
your Google Analytics report data.
• The default page for a website is the page shown to a visitor when they enter the website
domain in the browser’s location bar. For example, if you type http://www.cutroni.com in your
browser, the web server returns the index.php file located at that domain.
Why does it matter
• When the GATC executes, it creates pageviews using the page URL the visitor requested.
• What if there is no page URL, as is the case with http://www.cutroni.com? Google Analytics
creates a pageview and names it /.
• However, when the user types http://www.cutroni.com/index.php, Google Analytics creates a
pageview for /index.php.
• Although the visitor sees the same content, Google Analytics creates a pageview for / and a
pageview for /index.php: two different pageviews for the same page. Pageviews for a page
should be summarized as a single line item in Google Analytics, not two.
** To remedy this problem, enter the default page for your website in the Default page field in
the main website Profile Information configuration section.
Exclude URL Query Parameters
Use the Exclude URL Query Parameters text box to remove unwanted query-string
Parameters eg: personal information about your visitors
Tracking On-Site Search
On-site search data lets you measure what people search for on your website.
To access the Search Terms report, select Content→Site Search→Search Terms.
Keeping Track of Your Configuration
Changes
Basic Analytics Metrics
• Event tracking adds another layer of data to the visitor data hierarchy.
• We can really get a good idea of how visitors are engaging our interactive content. This will be vital
as web technologies, like Ajax and Flash and mobile apps, continue to evolve.
What is Google Analytics
Google Analytics (GA) is a service offered by Google that generates detailed
statistics about a website’s traffic and traffic sources and measures
conversions and sales.
ANALYTICS METRICS
• Visits
A visit is a group of interactions that
take place on your website within a
given timeframe.
ANALYTICS METRICS
• Unique Visitors
MORNING
EVENING
Unique visitors is the number of individual users who visit your
website. If the same user visits your website in the morning
and then again in the evening, they’re still just one unique
visitor, but he would be two visits.
ANALYTICS METRICS
• Pageviews
A pageview is a view of a page on your site. Every time a user
views a page, it is counted as an additional pageview. Keep in
mind that if a user reloads a page or goes to another page on
your website and then comes back to an already viewed page,
each of those views is counted as a pageview.
ANALYTICS METRICS
• Pages / Visit
This is the number of pages on your website
that a user viewed during their visit.
ANALYTICS METRICS
• Avg. Visit Duration
The average amount of time a user spends on your
website. You can make the assumption that if users
spend a lot of time on your website, they are good,
qualified users.
ANALYTICS METRICS
• Bounce Rate
Bounce Rate is the percentage of visits where the user
only viewed one page and then left your website. If a
specific page of your website has a high bounce rate,
you may want to evaluate the content of the page.
ANALYTICS METRICS
New visits are classified as users who haven’t been to
your website before. % New Visits is the percentage of
users with this classification.
• % New Visits
Traffic Sources
• Direct
• Referral
• Search
- Paid
- Organic
• Campaigns There are three basic traffic sources in GA: Direct, Referral, and Search.
Direct traffic comes from people typing your URL in the navigation bar or from
bookmarks. Referral traffic comes from links to your website that are on third-
party websites like Facebook or Yelp. Search traffic is divided into two parts:
organic and paid search.
SEARCH: PAID VS. ORGANIC
Paid Listings
Organic
Listings
Google Analytics for SEO Beginners

Contenu connexe

Tendances

Complete Ga Power User Web
Complete Ga Power User WebComplete Ga Power User Web
Complete Ga Power User Web
Roman Zykov
 
Google Ecosphere
Google EcosphereGoogle Ecosphere
Google Ecosphere
Drew Landis
 

Tendances (20)

How to Pass the Google Analytics Individual Qualification Test by Slingshot SEO
How to Pass the  Google Analytics Individual Qualification Test by Slingshot SEOHow to Pass the  Google Analytics Individual Qualification Test by Slingshot SEO
How to Pass the Google Analytics Individual Qualification Test by Slingshot SEO
 
Google Analytics 101
 Google Analytics 101  Google Analytics 101
Google Analytics 101
 
Complete Ga Power User Web
Complete Ga Power User WebComplete Ga Power User Web
Complete Ga Power User Web
 
Google Analytics Overview
Google Analytics OverviewGoogle Analytics Overview
Google Analytics Overview
 
HOW TO USE GOOGLE ANALYTICS BEHAVIOR TO OPTIMIZE YOUR CONTENT
HOW TO USE GOOGLE ANALYTICS BEHAVIOR TO OPTIMIZE YOUR CONTENTHOW TO USE GOOGLE ANALYTICS BEHAVIOR TO OPTIMIZE YOUR CONTENT
HOW TO USE GOOGLE ANALYTICS BEHAVIOR TO OPTIMIZE YOUR CONTENT
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google Analytics
 
Modern SEO Techniques 2014
Modern SEO Techniques 2014Modern SEO Techniques 2014
Modern SEO Techniques 2014
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google Analytics
 
Optimaal je Google Analytics Account inrichten
Optimaal je Google Analytics Account inrichtenOptimaal je Google Analytics Account inrichten
Optimaal je Google Analytics Account inrichten
 
Google Analytics 101
Google Analytics 101Google Analytics 101
Google Analytics 101
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google Analytics
 
Google Analytics Workshop 2013
Google Analytics Workshop 2013Google Analytics Workshop 2013
Google Analytics Workshop 2013
 
How to use pertinently Google Analytics, by Gilles Barbier
How to use pertinently Google Analytics, by Gilles BarbierHow to use pertinently Google Analytics, by Gilles Barbier
How to use pertinently Google Analytics, by Gilles Barbier
 
Google Analytics for Beginners - Part 1
Google Analytics for Beginners - Part 1 Google Analytics for Beginners - Part 1
Google Analytics for Beginners - Part 1
 
Christian kevin j_buot_how_to_use_google_analytics
Christian kevin j_buot_how_to_use_google_analyticsChristian kevin j_buot_how_to_use_google_analytics
Christian kevin j_buot_how_to_use_google_analytics
 
Introduction to web analytics and the Google analytics platform pdf
Introduction to web analytics and the Google analytics platform pdfIntroduction to web analytics and the Google analytics platform pdf
Introduction to web analytics and the Google analytics platform pdf
 
Google analytics by Neha Nayak
Google analytics by Neha NayakGoogle analytics by Neha Nayak
Google analytics by Neha Nayak
 
An Introduction to Web Analytics
An Introduction to Web AnalyticsAn Introduction to Web Analytics
An Introduction to Web Analytics
 
Google Ecosphere
Google EcosphereGoogle Ecosphere
Google Ecosphere
 
Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)
 

En vedette

How To Promote Your Online Visibility Using Web Analytics. How To Promote You...
How To Promote Your Online Visibility Using Web Analytics. How To Promote You...How To Promote Your Online Visibility Using Web Analytics. How To Promote You...
How To Promote Your Online Visibility Using Web Analytics. How To Promote You...
Overalia
 

En vedette (8)

How To Promote Your Online Visibility Using Web Analytics. How To Promote You...
How To Promote Your Online Visibility Using Web Analytics. How To Promote You...How To Promote Your Online Visibility Using Web Analytics. How To Promote You...
How To Promote Your Online Visibility Using Web Analytics. How To Promote You...
 
Google Analytics 101 Training
Google Analytics 101 TrainingGoogle Analytics 101 Training
Google Analytics 101 Training
 
Analítica web y métricas para startups (versión 2017)
Analítica web y métricas para startups (versión 2017)Analítica web y métricas para startups (versión 2017)
Analítica web y métricas para startups (versión 2017)
 
Curso Google Analytics
Curso Google AnalyticsCurso Google Analytics
Curso Google Analytics
 
Introducción a Google Analytics
Introducción a Google AnalyticsIntroducción a Google Analytics
Introducción a Google Analytics
 
Introducción a Google Analytics
Introducción a Google AnalyticsIntroducción a Google Analytics
Introducción a Google Analytics
 
Analítica Web: introducción al concepto y Google Analytics
Analítica Web: introducción al concepto y Google AnalyticsAnalítica Web: introducción al concepto y Google Analytics
Analítica Web: introducción al concepto y Google Analytics
 
Introducción a Google Analytics - Sancho BBDO
Introducción a Google Analytics - Sancho BBDO Introducción a Google Analytics - Sancho BBDO
Introducción a Google Analytics - Sancho BBDO
 

Similaire à Google Analytics for SEO Beginners

Understanding Google Analytics: Who's Oggling My Company
Understanding Google Analytics: Who's Oggling My CompanyUnderstanding Google Analytics: Who's Oggling My Company
Understanding Google Analytics: Who's Oggling My Company
Kimberly Swetland
 
web analysis document | web analysis document | web analysis document | web a...
web analysis document | web analysis document | web analysis document | web a...web analysis document | web analysis document | web analysis document | web a...
web analysis document | web analysis document | web analysis document | web a...
nazen2
 
Google Analytics 101 Webinar
Google Analytics 101 WebinarGoogle Analytics 101 Webinar
Google Analytics 101 Webinar
webucatordemo
 
Google analytics individual qualification (gaiq) exam preparation
Google analytics individual qualification (gaiq) exam preparationGoogle analytics individual qualification (gaiq) exam preparation
Google analytics individual qualification (gaiq) exam preparation
Srikanth Dhondi
 
Tech4Africa Google Workshop 1
Tech4Africa Google Workshop 1Tech4Africa Google Workshop 1
Tech4Africa Google Workshop 1
Sarah Blake
 

Similaire à Google Analytics for SEO Beginners (20)

Google_Analytics_PPT.pptx
Google_Analytics_PPT.pptxGoogle_Analytics_PPT.pptx
Google_Analytics_PPT.pptx
 
Google Analytics Basic Essentials
Google Analytics Basic EssentialsGoogle Analytics Basic Essentials
Google Analytics Basic Essentials
 
Google_Analytics_PPT.pptx
Google_Analytics_PPT.pptxGoogle_Analytics_PPT.pptx
Google_Analytics_PPT.pptx
 
Understanding Google Analytics: Who's Oggling My Company
Understanding Google Analytics: Who's Oggling My CompanyUnderstanding Google Analytics: Who's Oggling My Company
Understanding Google Analytics: Who's Oggling My Company
 
Google Analytics with an Intro to Google Tag Manager for Austin WordPress Meetup
Google Analytics with an Intro to Google Tag Manager for Austin WordPress MeetupGoogle Analytics with an Intro to Google Tag Manager for Austin WordPress Meetup
Google Analytics with an Intro to Google Tag Manager for Austin WordPress Meetup
 
ANLTYIC TOOLS-3.pptx
ANLTYIC TOOLS-3.pptxANLTYIC TOOLS-3.pptx
ANLTYIC TOOLS-3.pptx
 
web analysis document | web analysis document | web analysis document | web a...
web analysis document | web analysis document | web analysis document | web a...web analysis document | web analysis document | web analysis document | web a...
web analysis document | web analysis document | web analysis document | web a...
 
Google Analytics 101 Webinar
Google Analytics 101 WebinarGoogle Analytics 101 Webinar
Google Analytics 101 Webinar
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google Analytics
 
Google analytics training
Google analytics trainingGoogle analytics training
Google analytics training
 
Usando metodologías ágiles en UX
Usando metodologías ágiles en UX Usando metodologías ágiles en UX
Usando metodologías ágiles en UX
 
Google analytics with practical implementation
Google analytics with practical implementationGoogle analytics with practical implementation
Google analytics with practical implementation
 
Google Analytics IQ Lesson 3: Fundamentals
Google Analytics IQ Lesson 3: FundamentalsGoogle Analytics IQ Lesson 3: Fundamentals
Google Analytics IQ Lesson 3: Fundamentals
 
Guide to-google-analytics google 4
Guide to-google-analytics google 4Guide to-google-analytics google 4
Guide to-google-analytics google 4
 
Google analytics individual qualification (gaiq) exam preparation
Google analytics individual qualification (gaiq) exam preparationGoogle analytics individual qualification (gaiq) exam preparation
Google analytics individual qualification (gaiq) exam preparation
 
Temario del GAIQ
Temario del GAIQTemario del GAIQ
Temario del GAIQ
 
Google Analytics
Google AnalyticsGoogle Analytics
Google Analytics
 
analytics.pptx
analytics.pptxanalytics.pptx
analytics.pptx
 
Tech4Africa Google Workshop 1
Tech4Africa Google Workshop 1Tech4Africa Google Workshop 1
Tech4Africa Google Workshop 1
 
Analytics
AnalyticsAnalytics
Analytics
 

Dernier

Dernier (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Google Analytics for SEO Beginners

  • 2. What is Web Analytics? • The analysis of qualitative and quantitative data from your website and the competition, to drive a continual improvement of the online experience that your customers, and potential customers have, which translates into your desired outcomes (online and offline). - Avinash Kaushik • This definition encapsulates three main tasks every business must tackle when doing web analytics: – Measuring quantitative and qualitative data – Of our own website as well as competitor’s – Continuously improving your website – Aligning your measurement strategy with your business strategy
  • 3. Creating an Implementation Plan 1. Gather and document business requirements. 2. Analyze and document website architecture. 3. Create a Google Analytics account and configure profiles. 4. Configure the Google Analytics tracking code and tag website pages. 5. Tag marketing campaigns. 6. Create additional user accounts and configure the following reporting features: • Report access • Automated email report delivery • Reporting customizations (Custom Reports, Advanced Segments) 7. Perform the following optional configuration steps: • Enable e-commerce transaction tracking • Implement event tracking • Implement custom variables
  • 4. How Google Analytics Works • Google Analytics uses a common data collection technique called page tags. • A page tag is a small piece of JavaScript that you must place on all the website pages you want to track. • We affectionately call this code the Google Analytics Tracking Code, or GATC for short. • The data collection process begins when a visitor requests a page from the web server. • The server responds by sending the requested page back to the visitor’s browser (See next figure). As the browser processes the data, it contacts other servers that may host parts of the requested page, like images, videos, or script files. This is the case with the GATC.
  • 6. The Google Analytics Tracking Code (GATC) • The following is the GATC JavaScript snippet: <script type="text/javascript"> var _gaq = _gaq || [];❶ _gaq.push(['_setAccount', 'UA-XXXXXX-YY']); _gaq.push(['_trackPageview']); (function() {❷ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';❸ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
  • 7. The Google Analytics Tracking Code (GATC) ❶This part of the tracking code does all of the work. It starts by creating a queue (named _gaq), or list of Google Analytics commands. These commands are also called methods. When you want Google Analytics to do something, you add, or push, a command into the queue. The standard page tag adds the first two methods to the queue for you. • The first method is _setAccount(). • The second method, _trackPageview().
  • 8. The Google Analytics Tracking Code (GATC) ❷Before any code can execute the ga.js file, which contains all of the Google Analytics logic, this code loads that logic into the browser and requests ga.js from a Google server. This file is geo-load-balanced across all of Google’s global data centers. This means the visitor’s browser will connect with the closest data center to reduce the time it takes to retrieve the file.
  • 9. How to host ga.js on a local server • To host the ga.js locally, copy the contents of ga.js by viewing the file in your browser. Just enter http://www.google-analytics.com/ga.js in your browser, copy the resulting code, and place it in a file on your server. • Update the GATC to reference the new file location on your server.❸ • Periodically check for updates. Google publishes a ga.js change log at http://code.google.com/apis/analytics/community/gajs_changelog.html.
  • 10. Google Analytics Accounts and Profiles • Google Account is different from Google Analytics Account. • Once you have a Google account, Google attaches various services to your account. These services can include Gmail, Google Docs, AdWords, etc. • Google ties the data coming from your website to your Google Analytics account using a unique account number. E.g.: 'UA-XXXXXX-YY‘. • The XXXXXX is your account number. The YY part is the profile number. When combined in the format UA-XXXXXX-YY, it is called the profile ID. • You can access multiple Google Analytics accounts simply by adding your Google account to an existing Google Analytics account. • Within a Google Analytics account is a structure called a profile. Most people think of a profile as the data from a website. But in fact a profile is a collection of data and configuration settings. • It is possible, and actually recommended, to have multiple profiles for each of your websites. • You are allowed to create up to 25 Google Analytics Account and you can have up to 50 profiles in one Google Analytics account.
  • 11. Creating a Google Analytics Account You can create Google Analytics Account using two methods: • You can create a Google Analytics account at http://www.google.com/analytics. • The recommended way to create a Google Analytics account is through AdWords, because it’s easier to link your AdWords account to your Analytics account. • To create one from AdWords log in to your AdWords account and choose Google Analytics in the Reporting menu. Next, enable the Create my Free Google Analytics Account option and click Continue. **You should not add your clients as profiles in your Google Analytics account. Create a separate Google Analytics account specifically for each of your clients.
  • 12. Creating a Google Analytics Account Steps To create an Analytics account: • Visit http://www.google.com/analytics. • Enter your Google Account email and password and click Sign In. If you don't have a Google Account, click Sign up now to create one. • Click Sign Up. • Enter your Website's URL, making sure to select either http:// or https:// from the drop-down list. Enter a nickname for this account in the Account Name field, then click Continue. • Enter your contact information and click Continue. • Read the Google Analytics Terms of Service. If you agree to these terms, select the Yes checkbox and click Create New Account to continue. • The Tracking Instructions page that appears contains the tracking code that you'll need to paste into each page of your site.
  • 13. Creating a Google Analytics Account Access Level • There are two types of users in Google Analytics: users and administrators. • Administrators have complete access to everything in a Google Analytics account. They can view all of the data and they can change any setting. • Users can only access data in profiles that they have been given access to. They cannot change any settings. • You can use the User Manager on the main account page to add users to your Analytics account.
  • 14. Creating a Google Analytics Account Setting the Default Page • Setting the default page for a website is a simple configuration step that ensures the quality of your Google Analytics report data. • The default page for a website is the page shown to a visitor when they enter the website domain in the browser’s location bar. For example, if you type http://www.cutroni.com in your browser, the web server returns the index.php file located at that domain. Why does it matter • When the GATC executes, it creates pageviews using the page URL the visitor requested. • What if there is no page URL, as is the case with http://www.cutroni.com? Google Analytics creates a pageview and names it /. • However, when the user types http://www.cutroni.com/index.php, Google Analytics creates a pageview for /index.php. • Although the visitor sees the same content, Google Analytics creates a pageview for / and a pageview for /index.php: two different pageviews for the same page. Pageviews for a page should be summarized as a single line item in Google Analytics, not two. ** To remedy this problem, enter the default page for your website in the Default page field in the main website Profile Information configuration section.
  • 15. Exclude URL Query Parameters Use the Exclude URL Query Parameters text box to remove unwanted query-string Parameters eg: personal information about your visitors
  • 16. Tracking On-Site Search On-site search data lets you measure what people search for on your website. To access the Search Terms report, select Content→Site Search→Search Terms.
  • 17. Keeping Track of Your Configuration Changes
  • 18. Basic Analytics Metrics • Event tracking adds another layer of data to the visitor data hierarchy. • We can really get a good idea of how visitors are engaging our interactive content. This will be vital as web technologies, like Ajax and Flash and mobile apps, continue to evolve.
  • 19. What is Google Analytics Google Analytics (GA) is a service offered by Google that generates detailed statistics about a website’s traffic and traffic sources and measures conversions and sales.
  • 20. ANALYTICS METRICS • Visits A visit is a group of interactions that take place on your website within a given timeframe.
  • 21. ANALYTICS METRICS • Unique Visitors MORNING EVENING Unique visitors is the number of individual users who visit your website. If the same user visits your website in the morning and then again in the evening, they’re still just one unique visitor, but he would be two visits.
  • 22. ANALYTICS METRICS • Pageviews A pageview is a view of a page on your site. Every time a user views a page, it is counted as an additional pageview. Keep in mind that if a user reloads a page or goes to another page on your website and then comes back to an already viewed page, each of those views is counted as a pageview.
  • 23. ANALYTICS METRICS • Pages / Visit This is the number of pages on your website that a user viewed during their visit.
  • 24. ANALYTICS METRICS • Avg. Visit Duration The average amount of time a user spends on your website. You can make the assumption that if users spend a lot of time on your website, they are good, qualified users.
  • 25. ANALYTICS METRICS • Bounce Rate Bounce Rate is the percentage of visits where the user only viewed one page and then left your website. If a specific page of your website has a high bounce rate, you may want to evaluate the content of the page.
  • 26. ANALYTICS METRICS New visits are classified as users who haven’t been to your website before. % New Visits is the percentage of users with this classification. • % New Visits
  • 27. Traffic Sources • Direct • Referral • Search - Paid - Organic • Campaigns There are three basic traffic sources in GA: Direct, Referral, and Search. Direct traffic comes from people typing your URL in the navigation bar or from bookmarks. Referral traffic comes from links to your website that are on third- party websites like Facebook or Yelp. Search traffic is divided into two parts: organic and paid search.
  • 28. SEARCH: PAID VS. ORGANIC Paid Listings Organic Listings