SlideShare a Scribd company logo
Using R to Feed
Google Analytics Data
into BigQuery
Slides: https://bit.ly/3SNmp2y
@DannySmAnalysis @Semetrical
Danny Smith
Semetrical
Using R to Feed Google Analytics Data into BigQuery
1. The Google Analytics API
2. Why use R?
3. Accessing your GA data with R
4. Uploading your GA data to Big Query
5. Additional use cases
What we’ll cover…
#BrightonSEO @Semetrical
The Google
Analytics API
#BrightonSEO @Semetrical
Using R to Feed Google Analytics Data into BigQuery
• Automate reporting processes
• Avoid sampling
• Granular analysis
• Send measurement protocol hits – not in reporting / data
• Change configurations – not in reporting / data
Some of the key uses of the APIs:
#BrightonSEO @Semetrical
Using R to Feed Google Analytics Data into BigQuery
#BrightonSEO @Semetrical
• Free
• Quick analysis
• No sampling
• Avoids having to use SQL
Why use the GA4 API?
Why
Use R?
#BrightonSEO @Semetrical
10
11
12
13
14
•
•
•
•
•
Statistics, data
visualization and user-
friendly interface
The Benefits of R
#BrightonSEO @Semetrical
Accessing your Google
Analytics data with R
#BrightonSEO @Semetrical
17
18
Setting your 4 key conditions following the API
schema. Filter between UA and GA4 accordingly.
19
1. GA ID
2. Date range
3. Metrics
4. Dimensions
5. Dimension filters – optional
6. Segments - optional
Uploading data to
BigQuery with R
#BrightonSEO @Semetrical
Using R to Feed Google Analytics Data into BigQuery
Uploading data to
BigQuery with R
#BrightonSEO @Semetrical
3 variables required
for uploading data
into BigQuery:
• Project name
• Dataset name
• Table name
Locate your destination & upload to
BigQuery
Using R to Feed Google Analytics Data into BigQuery
Summary &
Additional Use Cases
#BrightonSEO @Semetrical
Overlay your Google
Analytics data with
additional data points i.e.
use Google Trends API
www.semetrical.com/using-ga-google-trends-api-with-r/
• Statistical packages
• Create visuals using Shiny
or ggplot (i.e. boxplots)
Automate reporting of
Google Analytics data using
cronR
Pull data from BigQuery with SQL
Download the deck from our blog
& grab your free R code cheat sheet to
start having a play today:
https://bit.ly/3SNmp2y
ds@Semetrical.com
@DannySmAnalysis
Thank you!
#BrightonSEO @Semetrical

More Related Content

PDF
Exploring the Google Analytics API
PPTX
ODSC May 2019 - The DataOps Manifesto
PPTX
Web scrapping and how to do it using python.pptx
PDF
ODSC data science to DataOps
PDF
Fri benghiat gil-odsc-data-kitchen-data science to dataops
PDF
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202
PDF
Advanced Analytics Implementations at EA scale
PDF
Google Analytics Konferenz 2019_Google Marketing Platform - Enterprise_Oleg P...
Exploring the Google Analytics API
ODSC May 2019 - The DataOps Manifesto
Web scrapping and how to do it using python.pptx
ODSC data science to DataOps
Fri benghiat gil-odsc-data-kitchen-data science to dataops
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202
Advanced Analytics Implementations at EA scale
Google Analytics Konferenz 2019_Google Marketing Platform - Enterprise_Oleg P...

Similar to Using R to Feed Google Analytics Data into BigQuery (20)

PDF
Do Agile Data in Just 5 Shocking Steps!
PDF
[Webinar] Getting Started with BigQuery: Basics, Its Appilcations & Use Cases
PDF
Analytics tool vendors comparison study 2017
PDF
Survey Add-on Showcase: Cloud Transformation
PPTX
Why Data Science Projects Fail?
PPTX
vodQA Pune (2019) - Testing AI,ML applications
PPTX
Washington DC DataOps Meetup -- Nov 2019
PPTX
Dataworks | 2018-06-20 | Gimel data platform
PPTX
Gimel at Dataworks Summit San Jose 2018
PDF
GAUC 2017 Workshop Datastudio: Martin Frotzler (e-dialog) & Lili Pajer (Google)
PPTX
"Taming Advanced Analytics Implementations at EA Scale" - Electronic Arts, Di...
PDF
seven steps to dataops @ dataops.rocks conference Oct 2019
PDF
Google analytics 301 - architecture, processing, configuration, extending and...
PDF
[Webinar] Interacting with BigQuery and Working with Advanced Queries
PDF
Shifting Left Using Sauce Analytics
PPTX
Dashboards that Set Your App Apart: The Complete Predictive Analytics Lifecyc...
PDF
Dashboards that Set Your App Apart: The Complete Predictive Analytics Lifecyc...
PPTX
Explore the 10 Best Google Image Search APIs for Web Scraping Images.pptx
PDF
Explore the 10 Best Google Image Search APIs for Web Scraping Images.pdf
PPTX
Explore the 10 Best Google Image Search APIs for Web Scraping Images.pptx
Do Agile Data in Just 5 Shocking Steps!
[Webinar] Getting Started with BigQuery: Basics, Its Appilcations & Use Cases
Analytics tool vendors comparison study 2017
Survey Add-on Showcase: Cloud Transformation
Why Data Science Projects Fail?
vodQA Pune (2019) - Testing AI,ML applications
Washington DC DataOps Meetup -- Nov 2019
Dataworks | 2018-06-20 | Gimel data platform
Gimel at Dataworks Summit San Jose 2018
GAUC 2017 Workshop Datastudio: Martin Frotzler (e-dialog) & Lili Pajer (Google)
"Taming Advanced Analytics Implementations at EA Scale" - Electronic Arts, Di...
seven steps to dataops @ dataops.rocks conference Oct 2019
Google analytics 301 - architecture, processing, configuration, extending and...
[Webinar] Interacting with BigQuery and Working with Advanced Queries
Shifting Left Using Sauce Analytics
Dashboards that Set Your App Apart: The Complete Predictive Analytics Lifecyc...
Dashboards that Set Your App Apart: The Complete Predictive Analytics Lifecyc...
Explore the 10 Best Google Image Search APIs for Web Scraping Images.pptx
Explore the 10 Best Google Image Search APIs for Web Scraping Images.pdf
Explore the 10 Best Google Image Search APIs for Web Scraping Images.pptx
Ad

More from Semetrical (6)

PPTX
How To Integrate Social Behavioural Data Into Your SEO Keyword Strategy
PPTX
KPI Myopia - Why Do Marketers Focus On Conversions And Ignore Revenue
PDF
The 3 Keys To Success in SEO
PPTX
3 Keys To Success In Performance Marketing
PDF
How to Improve Performance with Audience-first SEO & Content Marketing
PDF
Improving Lead Generation With Effective SEO
How To Integrate Social Behavioural Data Into Your SEO Keyword Strategy
KPI Myopia - Why Do Marketers Focus On Conversions And Ignore Revenue
The 3 Keys To Success in SEO
3 Keys To Success In Performance Marketing
How to Improve Performance with Audience-first SEO & Content Marketing
Improving Lead Generation With Effective SEO
Ad

Recently uploaded (20)

DOCX
marketing plan starville............docx
PPTX
Mastering eCommerce SEO: Strategies to Boost Traffic and Maximize Conversions
PPTX
Amazon - STRATEGIC.......................pptx
PPTX
Your score increases as you pick a category, fill out a long description and ...
PDF
exceptionalinsights.group visitor traffic statistics 08-08-25
PPTX
Ranking a Webpage with SEO (And Tracking It with the Right Attribution Type a...
PPTX
Best Digital marketing service provider in Chandigarh.pptx
PDF
How a Travel Company Can Implement Content Marketing
PPTX
Fixing-AI-Hallucinations-The-NeuroRanktm-Approach.pptx
PDF
E_Book_Customer_Relation_Management_0.pdf
PDF
Modernizing IT for the age of AI - Jason Aloia, Freshworks
PDF
UNIT 2 - 5 DISTRIBUTION IN RURAL MARKETS.pdf
PDF
Digital Marketing in the Age of AI: What CEOs Need to Know - Jennifer Apy, Ch...
PDF
MARG’s Door & Window Hardware Catalogue | Trending Branding Digital Solutions
PPTX
The evolution of the internet - its impacts on consumers
PDF
Wondershare Filmora Crack Free Download 2025
PDF
Proven AI Visibility: From SEO Strategy To GEO Tactics
PDF
Digital Marketing Agency in Thrissur with Proven Strategies for Local Growth
PDF
RC 14001 Certification: Enhancing ISO 14001 with EHS & Security Standards
PPTX
Ipsos+Protocols+Playbook+V1.2+(DEC2024)+final+IntClientUseOnly.pptx
marketing plan starville............docx
Mastering eCommerce SEO: Strategies to Boost Traffic and Maximize Conversions
Amazon - STRATEGIC.......................pptx
Your score increases as you pick a category, fill out a long description and ...
exceptionalinsights.group visitor traffic statistics 08-08-25
Ranking a Webpage with SEO (And Tracking It with the Right Attribution Type a...
Best Digital marketing service provider in Chandigarh.pptx
How a Travel Company Can Implement Content Marketing
Fixing-AI-Hallucinations-The-NeuroRanktm-Approach.pptx
E_Book_Customer_Relation_Management_0.pdf
Modernizing IT for the age of AI - Jason Aloia, Freshworks
UNIT 2 - 5 DISTRIBUTION IN RURAL MARKETS.pdf
Digital Marketing in the Age of AI: What CEOs Need to Know - Jennifer Apy, Ch...
MARG’s Door & Window Hardware Catalogue | Trending Branding Digital Solutions
The evolution of the internet - its impacts on consumers
Wondershare Filmora Crack Free Download 2025
Proven AI Visibility: From SEO Strategy To GEO Tactics
Digital Marketing Agency in Thrissur with Proven Strategies for Local Growth
RC 14001 Certification: Enhancing ISO 14001 with EHS & Security Standards
Ipsos+Protocols+Playbook+V1.2+(DEC2024)+final+IntClientUseOnly.pptx

Using R to Feed Google Analytics Data into BigQuery