SlideShare uma empresa Scribd logo
1 de 17
Google Analytics Magic Script
Created By: Keshav Kashyap
Agenda:-
 What is Google Analytics?
 Why Google Analytics?
 How to use GA in Application
 Key Features of GA
 Advantages and Disadvantages
 How to setup
 Metrics and Dimensions
 Automation of GA
 Sample Report & Demo
What is Google Analytics?
Free Service Offered by Google for Website
Statistics.
Daily, monthly, yearly tracking of web visits
Graphed over time
Which pages they go to, how long they stay
Bounce rate
Entrance pages
How they got there
Search engines and Search terms used
Location, operating system, monitor resolution
How it works ?
 Sign up for Google Analytics
https://www.google.com/analytics/
 They return code to you
 You paste the code just below the </body> tag
 Put it on EVERY page
Edit>Find and Replace is easiest option
 Put it in your template pages, so it will be
automatically on every page
 Go to the Analytics dashboard page to see daily
metrics
What it does?
Daily, monthly, yearly tracking of web visits
Graphed over time
Which pages they go to, how long they stay
Bounce rate
Entrance pages
How they got there
Search engines and Search terms used
Location, operating system, monitor resolution
Key Features of Google Analytics:-
 It helps in Website Trafficking.
Where the visitors came from?
How they are navigating through site?
 Conversion
Downloads
Page Views
Registration
 E-Commerce
 Ad-Words Performance
Advantages :-
 Free
 Sufficiant possibilities for most companies
 Easy to implement
 Easy to use
 Easy to understand
Dis-advantages :-
 URL and title based
 No data history
 Privacy ?
 JavaScript and cookies
 Only visitors, no crawlers or bots
What is Google Analytics Report Automation?
Google Analytics Report Automation (Magic) is
an integration that reduces the work required to
put Google Analytics data into any Apps Script
supported product, such as Google Docs, Sites,
or Spreadsheets.
How Google Analytics Report Automation Works?
Create a Dashboard on Google Spreadsheet.
Add Google Analytics Report Automation (Magic
Script)
Turn on access to the APIs for your first time.
Looking at the tabs on top, Script Editor >
Resources > Use Google APIs > Make sure Google
Analytics API is on.
Script Editor > Resources > Use Google APIs > Click
“Google APIs Console” > Turn Analytics API On >
Agree to Terms.
How Google Analytics Report Automation Works?
Go to the “gaconfig” sheet and enter the profile
number for a view you have access to. You can
find the profile number either by: Going to the
Google Analytics tab and choosing “Find
profile / ids”
Bringing up a report in the Google Analytics
interface in that specific view.
Go to “Dashboard” sheet and run “Get Data”
from the Google Analytics tab.
Required Inputs or Query Parameter Details:-
Account ID :- the (Magic) script comes with a ‘Find Profile/IDs’
option underneath the Google Analytics menu. ids =ga:12345
Start Date/End Date (*required) : today()
Metrics (*required) : ga:session,ga:bounces
Dimension : ga:browser,ga:city
Sort : ga:country
Filter : ga:medium
Max Result :100
Start and End Index : 10 to 100
Output : Name of the Sheet
Some Sample Metrics and Dimensions :-
Dimensions Metrics
ga:hostname
ga:pagePath
ga:pagePathLevel1
ga:pagePathLevel2
ga:pagePathLevel3
ga:pagePathLevel4
ga:pageTitle
ga:landingPagePath
ga:secondPagePath
ga:exitPagePath
ga:previousPagePath
ga:pageDepth
ga:pageValue
ga:entrances
ga:entranceRate
ga:pageviews
ga:pageviewsPerSession
ga:uniquePageviews
ga:timeOnPage
ga:avgTimeOnPage
ga:exits
ga:exitRate
Sample Query Parameter :-
query1 value1
type core
ids ga:80332348
start-date 2/10/2014
end-date 2/19/2014
last-n-days
metrics ga:visits
dimensions ga:date
sort
filters
segment
start-index
max-results
sheet-name App Sony PlayStation
Trigger your Script:-
 Go to Add-ons.
 Select Google Analytics.
 Navigate to Schedule Reports.
Sample Report:-
Results for query query9
Date executed 5/4/2015 5:59:27
Profile Name WWE.com
Total Results Found 1
Total Results Returned 1
Contains Sampled Data FALSE
Totals For All Results
ga:visits ga:visitors
1480 1353
ga:visits ga:visitors
1480 1353
Google Analytics Report Automation (Magic Script)

Mais conteúdo relacionado

Mais procurados

[Android] Google Service Play & Google Maps
[Android] Google Service Play & Google Maps[Android] Google Service Play & Google Maps
[Android] Google Service Play & Google MapsNatã Melo
 
Google Analytics sampling limitations and how to overcome them
Google Analytics sampling limitations and how to overcome themGoogle Analytics sampling limitations and how to overcome them
Google Analytics sampling limitations and how to overcome themGeorge Papadongonas
 
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 MeetupRich Plakas
 
What's new in Google Analytics 4
What's new in Google Analytics 4What's new in Google Analytics 4
What's new in Google Analytics 4Stephen Ellis
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google AnalyticsMeraj Faheem
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsEmpirical Path
 
Guide to-google-analytics google 4
Guide to-google-analytics google 4Guide to-google-analytics google 4
Guide to-google-analytics google 4Nizam Uddin
 
Google Analytics on Steroids: New Features & What You Need to Know
Google Analytics on Steroids: New Features & What You Need to KnowGoogle Analytics on Steroids: New Features & What You Need to Know
Google Analytics on Steroids: New Features & What You Need to KnowEmpirical Path
 
Google analytics version 4 in details
Google analytics version 4 in detailsGoogle analytics version 4 in details
Google analytics version 4 in detailsOmkar Nandi
 
20171023 5 Lifehacks: How to Analyze a Pack of Websites
20171023 5 Lifehacks: How to Analyze a Pack of Websites20171023 5 Lifehacks: How to Analyze a Pack of Websites
20171023 5 Lifehacks: How to Analyze a Pack of WebsitesMichaela Linhart
 
Designerfair 2011
Designerfair 2011Designerfair 2011
Designerfair 2011douglee650
 
Data mining with Google analytics
Data mining with Google analyticsData mining with Google analytics
Data mining with Google analyticsGreg Bray
 
What’s New in Google Analytics: New Features & What You Need to Know
What’s New in Google Analytics: New Features & What You Need to KnowWhat’s New in Google Analytics: New Features & What You Need to Know
What’s New in Google Analytics: New Features & What You Need to KnowEmpirical Path
 
Jonathan Weber - All Things DATA 2017
Jonathan Weber - All Things DATA 2017Jonathan Weber - All Things DATA 2017
Jonathan Weber - All Things DATA 2017Shuki Mann
 
Integration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google AnalyticsIntegration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google AnalyticsJatin Kochhar
 
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?Michaela Linhart
 
Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Yourposition AG
 

Mais procurados (19)

[Android] Google Service Play & Google Maps
[Android] Google Service Play & Google Maps[Android] Google Service Play & Google Maps
[Android] Google Service Play & Google Maps
 
Google Analytics sampling limitations and how to overcome them
Google Analytics sampling limitations and how to overcome themGoogle Analytics sampling limitations and how to overcome them
Google Analytics sampling limitations and how to overcome them
 
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
 
What's new in Google Analytics 4
What's new in Google Analytics 4What's new in Google Analytics 4
What's new in Google Analytics 4
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google Analytics
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web Creations
 
Kaggle for digital analysts
Kaggle for digital analystsKaggle for digital analysts
Kaggle for digital analysts
 
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 on Steroids: New Features & What You Need to Know
Google Analytics on Steroids: New Features & What You Need to KnowGoogle Analytics on Steroids: New Features & What You Need to Know
Google Analytics on Steroids: New Features & What You Need to Know
 
Google analytics version 4 in details
Google analytics version 4 in detailsGoogle analytics version 4 in details
Google analytics version 4 in details
 
20171023 5 Lifehacks: How to Analyze a Pack of Websites
20171023 5 Lifehacks: How to Analyze a Pack of Websites20171023 5 Lifehacks: How to Analyze a Pack of Websites
20171023 5 Lifehacks: How to Analyze a Pack of Websites
 
Designerfair 2011
Designerfair 2011Designerfair 2011
Designerfair 2011
 
Data mining with Google analytics
Data mining with Google analyticsData mining with Google analytics
Data mining with Google analytics
 
What’s New in Google Analytics: New Features & What You Need to Know
What’s New in Google Analytics: New Features & What You Need to KnowWhat’s New in Google Analytics: New Features & What You Need to Know
What’s New in Google Analytics: New Features & What You Need to Know
 
Google Analytics Update
Google Analytics UpdateGoogle Analytics Update
Google Analytics Update
 
Jonathan Weber - All Things DATA 2017
Jonathan Weber - All Things DATA 2017Jonathan Weber - All Things DATA 2017
Jonathan Weber - All Things DATA 2017
 
Integration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google AnalyticsIntegration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google Analytics
 
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
 
Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)
 

Semelhante a Google Analytics Report Automation (Magic Script)

Temario del GAIQ
Temario del GAIQTemario del GAIQ
Temario del GAIQClara Saiz
 
Score google analytics
Score   google analyticsScore   google analytics
Score google analyticsHotTopics114
 
BCCCA Google Analytics for Improved Lead Generation
BCCCA Google Analytics for Improved Lead GenerationBCCCA Google Analytics for Improved Lead Generation
BCCCA Google Analytics for Improved Lead GenerationPhilippe Taza
 
Getting Started with AdWords API and Google Analytics
Getting Started with AdWords API and Google AnalyticsGetting Started with AdWords API and Google Analytics
Getting Started with AdWords API and Google Analyticsmarcwan
 
Google Analytics Implementation Checklist
Google Analytics Implementation ChecklistGoogle Analytics Implementation Checklist
Google Analytics Implementation ChecklistPadiCode
 
Overview of Google Analytics - TBS
Overview of Google Analytics - TBSOverview of Google Analytics - TBS
Overview of Google Analytics - TBSseotrainingcourse
 
Web Analytics : A Detailed Study
Web Analytics : A Detailed StudyWeb Analytics : A Detailed Study
Web Analytics : A Detailed StudyPrasunKumarRouth
 
Google analytics account setup optimization
Google analytics account setup optimization Google analytics account setup optimization
Google analytics account setup optimization DAVID RAUDALES
 
Google Analytics for SEO Beginners
Google Analytics for SEO BeginnersGoogle Analytics for SEO Beginners
Google Analytics for SEO BeginnersAditya Todawal
 
Nuda Anthoney Web Analytics Demo
Nuda Anthoney Web Analytics DemoNuda Anthoney Web Analytics Demo
Nuda Anthoney Web Analytics DemoAnthoney Nuda
 
Hotjar vs Google Analytics.pdf
Hotjar vs Google Analytics.pdfHotjar vs Google Analytics.pdf
Hotjar vs Google Analytics.pdfAmruta Relekar
 
Google Analytics Website Optimizer Slideshare
Google Analytics Website Optimizer SlideshareGoogle Analytics Website Optimizer Slideshare
Google Analytics Website Optimizer Slidesharetmg_ltd
 
Google analytics and website optimizer
Google analytics and website optimizerGoogle analytics and website optimizer
Google analytics and website optimizerDigiword Ha Noi
 
Google Analytics and Website Optimizer
Google Analytics and Website OptimizerGoogle Analytics and Website Optimizer
Google Analytics and Website OptimizerSimon Whatley
 
Google Analytics And Website Optimizer
Google Analytics And Website OptimizerGoogle Analytics And Website Optimizer
Google Analytics And Website OptimizerDigiword Ha Noi
 
Getting Started With Google Analytics
Getting Started With Google AnalyticsGetting Started With Google Analytics
Getting Started With Google AnalyticsSwellPath
 
02 google-analytics
02 google-analytics02 google-analytics
02 google-analyticsGolam Kibria
 
Web Analytics and Wordpress - Wordcamp Chicago 2011
Web Analytics and Wordpress - Wordcamp Chicago 2011Web Analytics and Wordpress - Wordcamp Chicago 2011
Web Analytics and Wordpress - Wordcamp Chicago 2011fendmark
 

Semelhante a Google Analytics Report Automation (Magic Script) (20)

Temario del GAIQ
Temario del GAIQTemario del GAIQ
Temario del GAIQ
 
Score google analytics
Score   google analyticsScore   google analytics
Score google analytics
 
BCCCA Google Analytics for Improved Lead Generation
BCCCA Google Analytics for Improved Lead GenerationBCCCA Google Analytics for Improved Lead Generation
BCCCA Google Analytics for Improved Lead Generation
 
Getting Started with AdWords API and Google Analytics
Getting Started with AdWords API and Google AnalyticsGetting Started with AdWords API and Google Analytics
Getting Started with AdWords API and Google Analytics
 
Google Analytics Overview
Google Analytics OverviewGoogle Analytics Overview
Google Analytics Overview
 
Google Analytics Implementation Checklist
Google Analytics Implementation ChecklistGoogle Analytics Implementation Checklist
Google Analytics Implementation Checklist
 
Overview of Google Analytics - TBS
Overview of Google Analytics - TBSOverview of Google Analytics - TBS
Overview of Google Analytics - TBS
 
Web Analytics : A Detailed Study
Web Analytics : A Detailed StudyWeb Analytics : A Detailed Study
Web Analytics : A Detailed Study
 
Google Interface and Installation
Google Interface and InstallationGoogle Interface and Installation
Google Interface and Installation
 
Google analytics account setup optimization
Google analytics account setup optimization Google analytics account setup optimization
Google analytics account setup optimization
 
Google Analytics for SEO Beginners
Google Analytics for SEO BeginnersGoogle Analytics for SEO Beginners
Google Analytics for SEO Beginners
 
Nuda Anthoney Web Analytics Demo
Nuda Anthoney Web Analytics DemoNuda Anthoney Web Analytics Demo
Nuda Anthoney Web Analytics Demo
 
Hotjar vs Google Analytics.pdf
Hotjar vs Google Analytics.pdfHotjar vs Google Analytics.pdf
Hotjar vs Google Analytics.pdf
 
Google Analytics Website Optimizer Slideshare
Google Analytics Website Optimizer SlideshareGoogle Analytics Website Optimizer Slideshare
Google Analytics Website Optimizer Slideshare
 
Google analytics and website optimizer
Google analytics and website optimizerGoogle analytics and website optimizer
Google analytics and website optimizer
 
Google Analytics and Website Optimizer
Google Analytics and Website OptimizerGoogle Analytics and Website Optimizer
Google Analytics and Website Optimizer
 
Google Analytics And Website Optimizer
Google Analytics And Website OptimizerGoogle Analytics And Website Optimizer
Google Analytics And Website Optimizer
 
Getting Started With Google Analytics
Getting Started With Google AnalyticsGetting Started With Google Analytics
Getting Started With Google Analytics
 
02 google-analytics
02 google-analytics02 google-analytics
02 google-analytics
 
Web Analytics and Wordpress - Wordcamp Chicago 2011
Web Analytics and Wordpress - Wordcamp Chicago 2011Web Analytics and Wordpress - Wordcamp Chicago 2011
Web Analytics and Wordpress - Wordcamp Chicago 2011
 

Mais de Keshav Kashyap

Google Analytics Report Automation (Magic)
Google Analytics Report Automation (Magic) Google Analytics Report Automation (Magic)
Google Analytics Report Automation (Magic) Keshav Kashyap
 
Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Keshav Kashyap
 

Mais de Keshav Kashyap (6)

Next level of Appium
Next level of AppiumNext level of Appium
Next level of Appium
 
Api testing
Api testingApi testing
Api testing
 
Appium
AppiumAppium
Appium
 
#Fame case study
#Fame case study#Fame case study
#Fame case study
 
Google Analytics Report Automation (Magic)
Google Analytics Report Automation (Magic) Google Analytics Report Automation (Magic)
Google Analytics Report Automation (Magic)
 
Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)
 

Último

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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
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 MenDelhi Call girls
 
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
 
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
 
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 2024The Digital Insurer
 
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 Nanonetsnaman860154
 
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...apidays
 
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
 
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.pptxHampshireHUG
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
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 2024Rafal Los
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
[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.pdfhans926745
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
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
 

Último (20)

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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
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
 
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
 
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
 
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
 
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...
 
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?
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
[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
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
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 Report Automation (Magic Script)

  • 1. Google Analytics Magic Script Created By: Keshav Kashyap
  • 2. Agenda:-  What is Google Analytics?  Why Google Analytics?  How to use GA in Application  Key Features of GA  Advantages and Disadvantages  How to setup  Metrics and Dimensions  Automation of GA  Sample Report & Demo
  • 3. What is Google Analytics? Free Service Offered by Google for Website Statistics. Daily, monthly, yearly tracking of web visits Graphed over time Which pages they go to, how long they stay Bounce rate Entrance pages How they got there Search engines and Search terms used Location, operating system, monitor resolution
  • 4. How it works ?  Sign up for Google Analytics https://www.google.com/analytics/  They return code to you  You paste the code just below the </body> tag  Put it on EVERY page Edit>Find and Replace is easiest option  Put it in your template pages, so it will be automatically on every page  Go to the Analytics dashboard page to see daily metrics
  • 5. What it does? Daily, monthly, yearly tracking of web visits Graphed over time Which pages they go to, how long they stay Bounce rate Entrance pages How they got there Search engines and Search terms used Location, operating system, monitor resolution
  • 6. Key Features of Google Analytics:-  It helps in Website Trafficking. Where the visitors came from? How they are navigating through site?  Conversion Downloads Page Views Registration  E-Commerce  Ad-Words Performance
  • 7. Advantages :-  Free  Sufficiant possibilities for most companies  Easy to implement  Easy to use  Easy to understand
  • 8. Dis-advantages :-  URL and title based  No data history  Privacy ?  JavaScript and cookies  Only visitors, no crawlers or bots
  • 9. What is Google Analytics Report Automation? Google Analytics Report Automation (Magic) is an integration that reduces the work required to put Google Analytics data into any Apps Script supported product, such as Google Docs, Sites, or Spreadsheets.
  • 10. How Google Analytics Report Automation Works? Create a Dashboard on Google Spreadsheet. Add Google Analytics Report Automation (Magic Script) Turn on access to the APIs for your first time. Looking at the tabs on top, Script Editor > Resources > Use Google APIs > Make sure Google Analytics API is on. Script Editor > Resources > Use Google APIs > Click “Google APIs Console” > Turn Analytics API On > Agree to Terms.
  • 11. How Google Analytics Report Automation Works? Go to the “gaconfig” sheet and enter the profile number for a view you have access to. You can find the profile number either by: Going to the Google Analytics tab and choosing “Find profile / ids” Bringing up a report in the Google Analytics interface in that specific view. Go to “Dashboard” sheet and run “Get Data” from the Google Analytics tab.
  • 12. Required Inputs or Query Parameter Details:- Account ID :- the (Magic) script comes with a ‘Find Profile/IDs’ option underneath the Google Analytics menu. ids =ga:12345 Start Date/End Date (*required) : today() Metrics (*required) : ga:session,ga:bounces Dimension : ga:browser,ga:city Sort : ga:country Filter : ga:medium Max Result :100 Start and End Index : 10 to 100 Output : Name of the Sheet
  • 13. Some Sample Metrics and Dimensions :- Dimensions Metrics ga:hostname ga:pagePath ga:pagePathLevel1 ga:pagePathLevel2 ga:pagePathLevel3 ga:pagePathLevel4 ga:pageTitle ga:landingPagePath ga:secondPagePath ga:exitPagePath ga:previousPagePath ga:pageDepth ga:pageValue ga:entrances ga:entranceRate ga:pageviews ga:pageviewsPerSession ga:uniquePageviews ga:timeOnPage ga:avgTimeOnPage ga:exits ga:exitRate
  • 14. Sample Query Parameter :- query1 value1 type core ids ga:80332348 start-date 2/10/2014 end-date 2/19/2014 last-n-days metrics ga:visits dimensions ga:date sort filters segment start-index max-results sheet-name App Sony PlayStation
  • 15. Trigger your Script:-  Go to Add-ons.  Select Google Analytics.  Navigate to Schedule Reports.
  • 16. Sample Report:- Results for query query9 Date executed 5/4/2015 5:59:27 Profile Name WWE.com Total Results Found 1 Total Results Returned 1 Contains Sampled Data FALSE Totals For All Results ga:visits ga:visitors 1480 1353 ga:visits ga:visitors 1480 1353