SlideShare a Scribd company logo
1 of 16
Download to read offline
Manish Kumar Agarwal
Mindfire Solutions
About Me

ZEND PHP certified Engineer, Sr. web developer at
Mindfire Solutions. Expert in WordPress and Drupal.

»

»

Skills:
PHP CMS
Server Manage
SEO
Web-services

Connect Me:
FaceBook: http://www.facebook.com/manishkragarwal.se
LinkedIn: http://www.linkedin.com/pub/manish-kumar-agarwal/29/267/9a4
Google+: https://plus.google.com/u/0/102311203270173185853/about
Blog: http://drujoopress.wordpress.com
Contact Me:
Mail: manisha@mindfiresolutions.com/ manishkrag@yahoo.co.in
Skype: mfs_manish
What is Google Analytics
Free

service offered by Google

The

most widely used website statistics service

Provides

statistics and reports about visitors on a
website at-a-glance dashboard view as well as detailed
reports
What it does

 Daily, monthly, yearly tracking of site visits
 Create Graph over time

 Which pages visitor went to, how long they stay
 Bounce rate
Bounce rate is the percentage of visits that go only one page before
exiting a site.

 Entrance pages

 How they came there
 Search engines and Search terms used

 Location, operating system, monitor resolution
 Over 80 reports available
How to setup GA
 Sign up to Google Analytics and provide site link
https://www.google.com/analytics/

- They return code to you
- Paste the code just before the </body>(end body) tag
- Put it on EVERY page you want to be track by Google
- Put it in your template pages, so it will be
automatically on every page
- Go to the Analytics dashboard page to see daily
metrics
Sample Analytic Code
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33900695-1']);
_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>
Type of COOKIES
First-Party Cookies
First-party cookies are created by the Web site you are visiting
and are necessary to keep track of your personal preferences
and the current session as explained above.
Third-Party Cookies
Third-party cookies are created by a Web site other than the
one you are currently visiting; for example, by a third-party
advertiser on that site. The purpose of such cookies is usually to
track your surfing habits, which is why third-party cookies are
considered an invasion of privacy and riskier than first-party
cookies.
Type of COOKIES (contd...)
persistent and temporary cookies:
Persistent cookies: these cookies come with an expiration date set somewhere
in the future. They remain on a computer's hard drive until they expire or are
deleted by the user.
Temporary cookies : these cookies are much shorter-lived than their persistent
brothers; they expire as soon as the user closes the browser.
What are the COOKIES
__utma
utma details
Domain Hash: This unique number represents the domain which set up the cookies.
All Google Analytics cookies set by a particular domain have same domain hash. This
number is independent of browser and device.
Random Unique ID: This is the randomly generated number.
Next three numbers are unix timestamps which are represent the time of initial visit,
beginning of previous session and beginning of current session respectively.
The last number is the session counter. It is incremented by one each time a visitor
starts a new session.
__utmb & __utmc
__utmb & __utmc - work together as Session Identifiers.
__utmb - a persistent cookie which expires after 30
minutes. Contains domain hash and additional values.
__utmc - a temporary cookie deleted when the user
closes the browser. Contains only the domain hash.
Why does Google use both?
If a web page is open for 30 minutes without
activity, the _utmb cookie expires but the _utmc
cookie remains. The next time the user lands on
the page, a new _utmb cookie is created,
denoting a new session but a returning visitor.
With each new page a visitor lands on, the _utmb
cookie gets refreshed, so sessions can last as long
as the user keeps moving throughout the site
without hitting the 30-minute 'inactivity'
deadline.
__utmz
__utmz - this is the Campaign Cookie. Stores campaign tracking values passed
by tagged campaign URLs, including utm source, medium and campaign.
Pageview vs Visits
A pageview is can be defined as a view of a page on any site that is being tracked by the
GA tracking code. If a visitor reload after reaching the page, this will be counted as an
another pageview. If a visitor navigates to a different page and again returns to the first
page pageview count will be increase as well.
Visits represent the number of identical sessions initiated by all the visitors to a particular
site. If a user is inactive on your site for more than 30 minutes, then this visitor's next
activity to the site will be count as a new session means new new visits.
Reference

https://developers.google.com/analytics/devguides/collection/gajs/cookie-usage
http://www.tutkiun.com/2011/04/a-google-analytics-cookie-explained.html
http://support.google.com/analytics/bin/answer.py?hl=en&answer=1257084
http://helpful.knobs-dials.com/index.php/Utma,_utmb,_utmz_cookies
http://support.google.com/analytics/answer/2731565?hl=en

More Related Content

Similar to Google Analytics

Recruitment Analytics workshop - Endouble Antwerp 6-3-2017
Recruitment Analytics workshop  - Endouble Antwerp 6-3-2017Recruitment Analytics workshop  - Endouble Antwerp 6-3-2017
Recruitment Analytics workshop - Endouble Antwerp 6-3-2017Endouble
 
Make the most of your Analytics Tool by Mario Herrera @ MeasureCamp Cardiff
Make the most of your Analytics Tool by Mario Herrera @ MeasureCamp CardiffMake the most of your Analytics Tool by Mario Herrera @ MeasureCamp Cardiff
Make the most of your Analytics Tool by Mario Herrera @ MeasureCamp CardiffMeasureCamp Cardiff
 
Electronic computer cookies
Electronic computer cookiesElectronic computer cookies
Electronic computer cookiesSimilarweb
 
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
 
One Point Solution Assignments, Projects, Synopsis
One Point Solution  Assignments, Projects, SynopsisOne Point Solution  Assignments, Projects, Synopsis
One Point Solution Assignments, Projects, Synopsisvineetkarhana
 
GA (Google Analytics) Masterclass
GA (Google Analytics) MasterclassGA (Google Analytics) Masterclass
GA (Google Analytics) MasterclassHary HarysMatta
 
Google Analytics - OptSus Marketing
Google Analytics - OptSus MarketingGoogle Analytics - OptSus Marketing
Google Analytics - OptSus MarketingFrank Jones
 
PPT 3 Web Analytics (1).pptx
PPT 3 Web Analytics (1).pptxPPT 3 Web Analytics (1).pptx
PPT 3 Web Analytics (1).pptxDevChaudhari15
 
Google Analytics Workshop 2013
Google Analytics Workshop 2013Google Analytics Workshop 2013
Google Analytics Workshop 2013Milad Safarzadeh
 
What are cookies and what is changing
What are cookies and what is changingWhat are cookies and what is changing
What are cookies and what is changingDCRB
 
Top 10 Things to Analyse with Google Anaytics on a Monthly Basis
Top 10 Things to Analyse with Google Anaytics on a Monthly BasisTop 10 Things to Analyse with Google Anaytics on a Monthly Basis
Top 10 Things to Analyse with Google Anaytics on a Monthly BasisSocial Beat
 
SeoCustomer Hot Tricks & Tips 2012 Q3 - SEO, SEM, Social Media Traffic and Li...
SeoCustomer Hot Tricks & Tips 2012 Q3 - SEO, SEM, Social Media Traffic and Li...SeoCustomer Hot Tricks & Tips 2012 Q3 - SEO, SEM, Social Media Traffic and Li...
SeoCustomer Hot Tricks & Tips 2012 Q3 - SEO, SEM, Social Media Traffic and Li...Heyday ApS
 
Dashboards: Transform Your Data to Show Impact & Empower Action
Dashboards: Transform Your Data to Show Impact & Empower ActionDashboards: Transform Your Data to Show Impact & Empower Action
Dashboards: Transform Your Data to Show Impact & Empower ActionAndrew Mallis
 
Complete Google analytics document
Complete Google analytics documentComplete Google analytics document
Complete Google analytics documentParshuram Yadav
 
Behind the Bounce: Understanding Metrics and Engagement
Behind the Bounce: Understanding Metrics and EngagementBehind the Bounce: Understanding Metrics and Engagement
Behind the Bounce: Understanding Metrics and EngagementTaboola
 

Similar to Google Analytics (20)

Recruitment Analytics workshop - Endouble Antwerp 6-3-2017
Recruitment Analytics workshop  - Endouble Antwerp 6-3-2017Recruitment Analytics workshop  - Endouble Antwerp 6-3-2017
Recruitment Analytics workshop - Endouble Antwerp 6-3-2017
 
Make the most of your Analytics Tool by Mario Herrera @ MeasureCamp Cardiff
Make the most of your Analytics Tool by Mario Herrera @ MeasureCamp CardiffMake the most of your Analytics Tool by Mario Herrera @ MeasureCamp Cardiff
Make the most of your Analytics Tool by Mario Herrera @ MeasureCamp Cardiff
 
Google Analytics
Google Analytics Google Analytics
Google Analytics
 
Electronic computer cookies
Electronic computer cookiesElectronic computer cookies
Electronic computer cookies
 
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...
 
One Point Solution Assignments, Projects, Synopsis
One Point Solution  Assignments, Projects, SynopsisOne Point Solution  Assignments, Projects, Synopsis
One Point Solution Assignments, Projects, Synopsis
 
GA (Google Analytics) Masterclass
GA (Google Analytics) MasterclassGA (Google Analytics) Masterclass
GA (Google Analytics) Masterclass
 
Google Analytics - OptSus Marketing
Google Analytics - OptSus MarketingGoogle Analytics - OptSus Marketing
Google Analytics - OptSus Marketing
 
Ga ppt-By Shrihdar
Ga ppt-By ShrihdarGa ppt-By Shrihdar
Ga ppt-By Shrihdar
 
PPT 3 Web Analytics (1).pptx
PPT 3 Web Analytics (1).pptxPPT 3 Web Analytics (1).pptx
PPT 3 Web Analytics (1).pptx
 
Google Analytics Workshop 2013
Google Analytics Workshop 2013Google Analytics Workshop 2013
Google Analytics Workshop 2013
 
Web analytics & Online privacy
Web analytics & Online privacyWeb analytics & Online privacy
Web analytics & Online privacy
 
What are cookies and what is changing
What are cookies and what is changingWhat are cookies and what is changing
What are cookies and what is changing
 
Top 10 Things to Analyse with Google Anaytics on a Monthly Basis
Top 10 Things to Analyse with Google Anaytics on a Monthly BasisTop 10 Things to Analyse with Google Anaytics on a Monthly Basis
Top 10 Things to Analyse with Google Anaytics on a Monthly Basis
 
SeoCustomer Hot Tricks & Tips 2012 Q3 - SEO, SEM, Social Media Traffic and Li...
SeoCustomer Hot Tricks & Tips 2012 Q3 - SEO, SEM, Social Media Traffic and Li...SeoCustomer Hot Tricks & Tips 2012 Q3 - SEO, SEM, Social Media Traffic and Li...
SeoCustomer Hot Tricks & Tips 2012 Q3 - SEO, SEM, Social Media Traffic and Li...
 
Dashboards: Transform Your Data to Show Impact & Empower Action
Dashboards: Transform Your Data to Show Impact & Empower ActionDashboards: Transform Your Data to Show Impact & Empower Action
Dashboards: Transform Your Data to Show Impact & Empower Action
 
analytics.pptx
analytics.pptxanalytics.pptx
analytics.pptx
 
Complete Google analytics document
Complete Google analytics documentComplete Google analytics document
Complete Google analytics document
 
Behind the Bounce: Understanding Metrics and Engagement
Behind the Bounce: Understanding Metrics and EngagementBehind the Bounce: Understanding Metrics and Engagement
Behind the Bounce: Understanding Metrics and Engagement
 
Google analytics glossary
Google analytics glossaryGoogle analytics glossary
Google analytics glossary
 

More from Mindfire Solutions (20)

Physician Search and Review
Physician Search and ReviewPhysician Search and Review
Physician Search and Review
 
diet management app
diet management appdiet management app
diet management app
 
Business Technology Solution
Business Technology SolutionBusiness Technology Solution
Business Technology Solution
 
Remote Health Monitoring
Remote Health MonitoringRemote Health Monitoring
Remote Health Monitoring
 
Influencer Marketing Solution
Influencer Marketing SolutionInfluencer Marketing Solution
Influencer Marketing Solution
 
ELMAH
ELMAHELMAH
ELMAH
 
High Availability of Azure Applications
High Availability of Azure ApplicationsHigh Availability of Azure Applications
High Availability of Azure Applications
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
 
Glimpse of Loops Vs Set
Glimpse of Loops Vs SetGlimpse of Loops Vs Set
Glimpse of Loops Vs Set
 
Oracle Sql Developer-Getting Started
Oracle Sql Developer-Getting StartedOracle Sql Developer-Getting Started
Oracle Sql Developer-Getting Started
 
Adaptive Layout In iOS 8
Adaptive Layout In iOS 8Adaptive Layout In iOS 8
Adaptive Layout In iOS 8
 
Introduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/MacIntroduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/Mac
 
LINQPad - utility Tool
LINQPad - utility ToolLINQPad - utility Tool
LINQPad - utility Tool
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
 
Swift vs Objective-C
Swift vs Objective-CSwift vs Objective-C
Swift vs Objective-C
 
Material Design in Android
Material Design in AndroidMaterial Design in Android
Material Design in Android
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
 
Ext js Part 2- MVC
Ext js Part 2- MVCExt js Part 2- MVC
Ext js Part 2- MVC
 
ExtJs Basic Part-1
ExtJs Basic Part-1ExtJs Basic Part-1
ExtJs Basic Part-1
 
Spring Security Introduction
Spring Security IntroductionSpring Security Introduction
Spring Security Introduction
 

Recently uploaded

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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.pdfUK Journal
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
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 organizationRadu Cotescu
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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 DevelopmentsTrustArc
 
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 WorkerThousandEyes
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Recently uploaded (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Google Analytics

  • 2. About Me ZEND PHP certified Engineer, Sr. web developer at Mindfire Solutions. Expert in WordPress and Drupal. » » Skills: PHP CMS Server Manage SEO Web-services Connect Me: FaceBook: http://www.facebook.com/manishkragarwal.se LinkedIn: http://www.linkedin.com/pub/manish-kumar-agarwal/29/267/9a4 Google+: https://plus.google.com/u/0/102311203270173185853/about Blog: http://drujoopress.wordpress.com Contact Me: Mail: manisha@mindfiresolutions.com/ manishkrag@yahoo.co.in Skype: mfs_manish
  • 3. What is Google Analytics Free service offered by Google The most widely used website statistics service Provides statistics and reports about visitors on a website at-a-glance dashboard view as well as detailed reports
  • 4. What it does  Daily, monthly, yearly tracking of site visits  Create Graph over time  Which pages visitor went to, how long they stay  Bounce rate Bounce rate is the percentage of visits that go only one page before exiting a site.  Entrance pages  How they came there  Search engines and Search terms used  Location, operating system, monitor resolution  Over 80 reports available
  • 5. How to setup GA  Sign up to Google Analytics and provide site link https://www.google.com/analytics/ - They return code to you - Paste the code just before the </body>(end body) tag - Put it on EVERY page you want to be track by Google - Put it in your template pages, so it will be automatically on every page - Go to the Analytics dashboard page to see daily metrics
  • 6. Sample Analytic Code <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-33900695-1']); _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. Type of COOKIES First-Party Cookies First-party cookies are created by the Web site you are visiting and are necessary to keep track of your personal preferences and the current session as explained above. Third-Party Cookies Third-party cookies are created by a Web site other than the one you are currently visiting; for example, by a third-party advertiser on that site. The purpose of such cookies is usually to track your surfing habits, which is why third-party cookies are considered an invasion of privacy and riskier than first-party cookies.
  • 8. Type of COOKIES (contd...) persistent and temporary cookies: Persistent cookies: these cookies come with an expiration date set somewhere in the future. They remain on a computer's hard drive until they expire or are deleted by the user. Temporary cookies : these cookies are much shorter-lived than their persistent brothers; they expire as soon as the user closes the browser.
  • 9. What are the COOKIES
  • 11. utma details Domain Hash: This unique number represents the domain which set up the cookies. All Google Analytics cookies set by a particular domain have same domain hash. This number is independent of browser and device. Random Unique ID: This is the randomly generated number. Next three numbers are unix timestamps which are represent the time of initial visit, beginning of previous session and beginning of current session respectively. The last number is the session counter. It is incremented by one each time a visitor starts a new session.
  • 12. __utmb & __utmc __utmb & __utmc - work together as Session Identifiers. __utmb - a persistent cookie which expires after 30 minutes. Contains domain hash and additional values. __utmc - a temporary cookie deleted when the user closes the browser. Contains only the domain hash.
  • 13. Why does Google use both? If a web page is open for 30 minutes without activity, the _utmb cookie expires but the _utmc cookie remains. The next time the user lands on the page, a new _utmb cookie is created, denoting a new session but a returning visitor. With each new page a visitor lands on, the _utmb cookie gets refreshed, so sessions can last as long as the user keeps moving throughout the site without hitting the 30-minute 'inactivity' deadline.
  • 14. __utmz __utmz - this is the Campaign Cookie. Stores campaign tracking values passed by tagged campaign URLs, including utm source, medium and campaign.
  • 15. Pageview vs Visits A pageview is can be defined as a view of a page on any site that is being tracked by the GA tracking code. If a visitor reload after reaching the page, this will be counted as an another pageview. If a visitor navigates to a different page and again returns to the first page pageview count will be increase as well. Visits represent the number of identical sessions initiated by all the visitors to a particular site. If a user is inactive on your site for more than 30 minutes, then this visitor's next activity to the site will be count as a new session means new new visits.