SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
Interacting with
BigQuery
Working with Advanced Queries
SpeakersModerator
Pankaj Bhatlawande
Customer Success Manager, Tatvic
Sarjak Patel
Lead - Customer Success Manager,
Tatvic
2
Who’s Who
Karan Dave
Content Marketing Manager, Tatvic
Type your comments
and questions here
@Tatvic
3
How to Interact?
Recap of Webinar #1
4
Introduction to BigQuery
Architecture
GA 360 Data in BigQuery
Integrations and Use Cases
OUTLINE
5
1 Interacting with BigQuery
2 Useful Concepts and Queries
3 Automating Queries
4 Exporting Data
5 Joining Online & Offline Data
Interacting with BigQuery
6
Web UI
REST API
Command-Line Tool
Interacting with BigQuery
7
Web UI
https://bigquery.cloud.google.com/welcome/
Interacting with BigQuery
8
Command-Line Tool
• Python-based tool
• https://cloud.google.com/bi
gquery/bq-command-line-
tool
Interacting with BigQuery
9
BigQuery
C#
Go
Java
Node.jsPHP
Python
Ruby
➢ Direct HTTP requests to the server
➢ Provide idiomatic, generated or
hand-written code in each language
➢ Handle all the low-level details of
communication with the server
➢ Cloud Client Libraries available in
multiple programming languages
REST API
OUTLINE
10
1 Interacting with BigQuery
2 Useful Concepts and Queries
3 Automating Queries
4 Exporting Data
5 Joining Online & Offline Data
Useful Concepts and Queries
11
Custom
Funnels
Page
Sequence
Analysis
Useful
Functions
Best
Practices
Custom
Funnels
Using
Flatten
Page Sequence Analysis
12
• Understand the sequence the users follow to reach a certain page
• The sequences can be modified to be before or after and to also include events
Landing
Page
Page
A
Page
B
Page
C
Contact
Page
Custom Funnels
13
• Get unsampled custom funnels with added
benefits
- No Backfilling
- Historical Information
- Apply filters
- Unlimited steps
• Both open and closed funnels
14
Using Flatten
Sample Data Set
• BigQuery uses repeated (nested) fields to
store data
• While querying nested data, BigQuery
automatically flattens the table data
• However, when dealing with more than one
repeated field, we need to explicitly use
FLATTEN on the table
15
Using Flatten
While querying data using
below query,
BigQuery flattens the data
automatically
16
Using Flatten
• However, running the query:
• It shows the error:
• Use FLATTEN as per shown in below query to fetch proper results:
17
Useful Functions
• BigQuery functions are more or less similar in nature to that of regular SQL
• However, there are some functions which act differently to an extent
COUNT([DISTINCT] field [, n]) REGEXP_MATCH('str', 'reg_exp')
EXACT_COUNT_DISTINCT(field) REGEXP_REPLACE('orig_str', 'reg_exp', 'replace_str')
GROUP_CONCAT('str' [, separator]) DATEDIFF(<timestamp1>,<timestamp2>)
FIRST(expr), LAST(field) DAY/MONTH/HOUR/MINUTE(<timestamp>)
STRING(numeric_expr),
INTEGER(expr)
TABLE_DATE_RANGE(prefix, timestamp1, timestamp
2)
CONCAT('str1', 'str2', '...') ROW_NUMBER()
DATE(<timestamp>) RANK()
Best Practices
18
✓ Start by sketching the expected result
before writing your query
✓ Only select the relevant fields; The
more fields you select, the more data
it has to process and eventually
leading to more time and cost
✓ Avoid using functions as fields when
possible and prefer specific times and
dates, to allow caching
✓ Use intermediate tables for commonly
used subqueries
✓ Use caching whenever possible,
reduce execution time and costing
✓ Format and comment your queries, it
will be easier to read, understand and
debug
✓ Statements are not case-sensitive but
it’s a best practice to capitalize
OUTLINE
19
1 Interacting with BigQuery
2 Useful Concepts and Queries
3 Automating Queries
4 Exporting Data
5 Joining Online & Offline Data
Automating Queries
20
Using Command-Line Tool
1. Launch virtual machine on Google Cloud
2. Upload command line scripts
3. Schedule queries using cronjob
Automating Queries
21
Using Apps Script
• Google Apps Script is a scripting language based on JavaScript
• Uses Google BigQuery API
Manage BigQuery projects
Upload new data
Execute queries
• https://developers.google.com/apps-script/advanced/bigquery
OUTLINE
22
1 Interacting with BigQuery
2 Useful Concepts and Queries
3 Automating Queries
4 Exporting Data
5 Joining Online & Offline Data
Exporting Data
23
BigQuery Connector for Excel
Google Cloud Storage R Studio
Google
Sheets
OUTLINE
24
1 Interacting with BigQuery
2 Useful Concepts and Queries
3 Automating Queries
4 Exporting Data
5 Joining Online & Offline Data
Joining Online & Offline Data
25
GA
360
CRM
Data
BigQuery
Using Command-Line Tool
1. Upload CRM data to BigQuery
2. Use join queries to create a Single View
3. Analyze end-to-end user journey
Type your comments
and questions here
@Tatvic
26
Any Questions?
Title: How to Make the Best Use of Your Google Analytics 360
Data for eCommerce Businesses
Speakers: Bismayy Mohapatra and Anshul Bhatt
Date: December 14, 2017
Time: 8:30 PM IST
27
Upcoming Webinar
THANKS!
28
●Your data speaks. We help you listen to your data.

Mais conteúdo relacionado

Mais procurados

Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Christopher Gutknecht
 
CMO's Guide to Google Analytics Premium
CMO's Guide to Google Analytics PremiumCMO's Guide to Google Analytics Premium
CMO's Guide to Google Analytics PremiumHappy Marketer
 
One Further - Spektrix and Google Analytics 4
One Further - Spektrix and Google Analytics 4One Further - Spektrix and Google Analytics 4
One Further - Spektrix and Google Analytics 4One Further
 
Data Driven Attribution in BigQuery with Shapley Values and Markov Chains
Data Driven Attribution in BigQuery with Shapley Values and Markov ChainsData Driven Attribution in BigQuery with Shapley Values and Markov Chains
Data Driven Attribution in BigQuery with Shapley Values and Markov ChainsChristopher Gutknecht
 
Advanced Google Analytics 4.0 by Aviso Digital
Advanced Google Analytics 4.0 by Aviso DigitalAdvanced Google Analytics 4.0 by Aviso Digital
Advanced Google Analytics 4.0 by Aviso DigitalSumeet Mayor
 
Datalicious Google Analytics Premium Reseller Information
Datalicious Google Analytics Premium Reseller InformationDatalicious Google Analytics Premium Reseller Information
Datalicious Google Analytics Premium Reseller InformationDatalicious
 
[Webinar] Deep Dive in App Analytics
[Webinar] Deep Dive in App Analytics[Webinar] Deep Dive in App Analytics
[Webinar] Deep Dive in App AnalyticsTatvic Analytics
 
Google Analytics Premium for Better Data-Driven Decisions With Swapnil Sinha
Google Analytics Premium for Better Data-Driven Decisions With Swapnil SinhaGoogle Analytics Premium for Better Data-Driven Decisions With Swapnil Sinha
Google Analytics Premium for Better Data-Driven Decisions With Swapnil SinhaTatvic Analytics
 
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...Christopher Gutknecht
 
Google’s new analytics features
Google’s new analytics featuresGoogle’s new analytics features
Google’s new analytics featuresJon Adam
 
Google Analytics 360 Suite Attribution
Google Analytics 360 Suite AttributionGoogle Analytics 360 Suite Attribution
Google Analytics 360 Suite AttributionChristian Bartens
 
3 Personalization Use Cases of Google Optimize 360
3 Personalization Use Cases of Google Optimize 3603 Personalization Use Cases of Google Optimize 360
3 Personalization Use Cases of Google Optimize 360Tatvic Analytics
 
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
 
Cohort Analysis at Scale
Cohort Analysis at ScaleCohort Analysis at Scale
Cohort Analysis at ScaleBlake Irvine
 
Google Analytics Products Overview 2020
Google Analytics Products Overview 2020Google Analytics Products Overview 2020
Google Analytics Products Overview 2020Principle America
 
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
 
An Introduction to the Google Analytics 360 Suite
An Introduction to the Google Analytics 360 SuiteAn Introduction to the Google Analytics 360 Suite
An Introduction to the Google Analytics 360 SuiteSearch Laboratory
 
Yellowfin 7.3 launch presentation slides
Yellowfin 7.3 launch presentation slidesYellowfin 7.3 launch presentation slides
Yellowfin 7.3 launch presentation slidesYellowfin
 
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)Christopher Gutknecht
 

Mais procurados (20)

Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)
 
CMO's Guide to Google Analytics Premium
CMO's Guide to Google Analytics PremiumCMO's Guide to Google Analytics Premium
CMO's Guide to Google Analytics Premium
 
One Further - Spektrix and Google Analytics 4
One Further - Spektrix and Google Analytics 4One Further - Spektrix and Google Analytics 4
One Further - Spektrix and Google Analytics 4
 
Data Driven Attribution in BigQuery with Shapley Values and Markov Chains
Data Driven Attribution in BigQuery with Shapley Values and Markov ChainsData Driven Attribution in BigQuery with Shapley Values and Markov Chains
Data Driven Attribution in BigQuery with Shapley Values and Markov Chains
 
Advanced Google Analytics 4.0 by Aviso Digital
Advanced Google Analytics 4.0 by Aviso DigitalAdvanced Google Analytics 4.0 by Aviso Digital
Advanced Google Analytics 4.0 by Aviso Digital
 
Datalicious Google Analytics Premium Reseller Information
Datalicious Google Analytics Premium Reseller InformationDatalicious Google Analytics Premium Reseller Information
Datalicious Google Analytics Premium Reseller Information
 
[Webinar] Deep Dive in App Analytics
[Webinar] Deep Dive in App Analytics[Webinar] Deep Dive in App Analytics
[Webinar] Deep Dive in App Analytics
 
Google Analytics Premium for Better Data-Driven Decisions With Swapnil Sinha
Google Analytics Premium for Better Data-Driven Decisions With Swapnil SinhaGoogle Analytics Premium for Better Data-Driven Decisions With Swapnil Sinha
Google Analytics Premium for Better Data-Driven Decisions With Swapnil Sinha
 
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
 
Google’s new analytics features
Google’s new analytics featuresGoogle’s new analytics features
Google’s new analytics features
 
Google Analytics 360 Suite Attribution
Google Analytics 360 Suite AttributionGoogle Analytics 360 Suite Attribution
Google Analytics 360 Suite Attribution
 
3 Personalization Use Cases of Google Optimize 360
3 Personalization Use Cases of Google Optimize 3603 Personalization Use Cases of Google Optimize 360
3 Personalization Use Cases of Google Optimize 360
 
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
 
Cohort Analysis at Scale
Cohort Analysis at ScaleCohort Analysis at Scale
Cohort Analysis at Scale
 
Google Analytics Products Overview 2020
Google Analytics Products Overview 2020Google Analytics Products Overview 2020
Google Analytics Products Overview 2020
 
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
 
Adobe part 1
Adobe part 1Adobe part 1
Adobe part 1
 
An Introduction to the Google Analytics 360 Suite
An Introduction to the Google Analytics 360 SuiteAn Introduction to the Google Analytics 360 Suite
An Introduction to the Google Analytics 360 Suite
 
Yellowfin 7.3 launch presentation slides
Yellowfin 7.3 launch presentation slidesYellowfin 7.3 launch presentation slides
Yellowfin 7.3 launch presentation slides
 
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
 

Semelhante a [Webinar] Interacting with BigQuery and Working with Advanced Queries

Big Query Basics
Big Query BasicsBig Query Basics
Big Query BasicsIdo Green
 
Using ClickHouse for Experimentation
Using ClickHouse for ExperimentationUsing ClickHouse for Experimentation
Using ClickHouse for ExperimentationGleb Kanterov
 
Supercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuerySupercharge your data analytics with BigQuery
Supercharge your data analytics with BigQueryMárton Kodok
 
GraphQL Advanced
GraphQL AdvancedGraphQL Advanced
GraphQL AdvancedLeanIX GmbH
 
Google Developer Group - Cloud Singapore BigQuery Webinar
Google Developer Group - Cloud Singapore BigQuery WebinarGoogle Developer Group - Cloud Singapore BigQuery Webinar
Google Developer Group - Cloud Singapore BigQuery WebinarRasel Rana
 
bigquery.pptx
bigquery.pptxbigquery.pptx
bigquery.pptxHarissh16
 
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQueryCodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQueryMárton Kodok
 
Data Provision API with BigQuery - Google Cloud Summit Jakarta 18
Data Provision API with BigQuery  - Google Cloud Summit Jakarta 18Data Provision API with BigQuery  - Google Cloud Summit Jakarta 18
Data Provision API with BigQuery - Google Cloud Summit Jakarta 18Imre Nagi
 
Oracle Application Express as add-on for Google Apps
Oracle Application Express as add-on for Google AppsOracle Application Express as add-on for Google Apps
Oracle Application Express as add-on for Google AppsSergei Martens
 
Getting started with BigQuery
Getting started with BigQueryGetting started with BigQuery
Getting started with BigQueryPradeep Bhadani
 
VoxxedDays Bucharest 2017 - Powering interactive data analysis with Google Bi...
VoxxedDays Bucharest 2017 - Powering interactive data analysis with Google Bi...VoxxedDays Bucharest 2017 - Powering interactive data analysis with Google Bi...
VoxxedDays Bucharest 2017 - Powering interactive data analysis with Google Bi...Márton Kodok
 
Workshop on Google Cloud Data Platform
Workshop on Google Cloud Data PlatformWorkshop on Google Cloud Data Platform
Workshop on Google Cloud Data PlatformGoDataDriven
 
BigQuery ML - Machine learning at scale using SQL
BigQuery ML - Machine learning at scale using SQLBigQuery ML - Machine learning at scale using SQL
BigQuery ML - Machine learning at scale using SQLMárton Kodok
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and EngineeringVijayananda Mohire
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and EngineeringVijayananda Mohire
 
Google BigQuery for Everyday Developer
Google BigQuery for Everyday DeveloperGoogle BigQuery for Everyday Developer
Google BigQuery for Everyday DeveloperMárton Kodok
 
Big Query - Women Techmarkers (Ukraine - March 2014)
Big Query - Women Techmarkers (Ukraine - March 2014)Big Query - Women Techmarkers (Ukraine - March 2014)
Big Query - Women Techmarkers (Ukraine - March 2014)Ido Green
 
Altitude San Francisco 2018: Logging at the Edge
Altitude San Francisco 2018: Logging at the Edge Altitude San Francisco 2018: Logging at the Edge
Altitude San Francisco 2018: Logging at the Edge Fastly
 

Semelhante a [Webinar] Interacting with BigQuery and Working with Advanced Queries (20)

Big Query Basics
Big Query BasicsBig Query Basics
Big Query Basics
 
Using ClickHouse for Experimentation
Using ClickHouse for ExperimentationUsing ClickHouse for Experimentation
Using ClickHouse for Experimentation
 
Supercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuerySupercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuery
 
Big query
Big queryBig query
Big query
 
GraphQL Advanced
GraphQL AdvancedGraphQL Advanced
GraphQL Advanced
 
Google Developer Group - Cloud Singapore BigQuery Webinar
Google Developer Group - Cloud Singapore BigQuery WebinarGoogle Developer Group - Cloud Singapore BigQuery Webinar
Google Developer Group - Cloud Singapore BigQuery Webinar
 
bigquery.pptx
bigquery.pptxbigquery.pptx
bigquery.pptx
 
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQueryCodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
 
Frappe Open Day - May 2018
Frappe Open Day - May 2018Frappe Open Day - May 2018
Frappe Open Day - May 2018
 
Data Provision API with BigQuery - Google Cloud Summit Jakarta 18
Data Provision API with BigQuery  - Google Cloud Summit Jakarta 18Data Provision API with BigQuery  - Google Cloud Summit Jakarta 18
Data Provision API with BigQuery - Google Cloud Summit Jakarta 18
 
Oracle Application Express as add-on for Google Apps
Oracle Application Express as add-on for Google AppsOracle Application Express as add-on for Google Apps
Oracle Application Express as add-on for Google Apps
 
Getting started with BigQuery
Getting started with BigQueryGetting started with BigQuery
Getting started with BigQuery
 
VoxxedDays Bucharest 2017 - Powering interactive data analysis with Google Bi...
VoxxedDays Bucharest 2017 - Powering interactive data analysis with Google Bi...VoxxedDays Bucharest 2017 - Powering interactive data analysis with Google Bi...
VoxxedDays Bucharest 2017 - Powering interactive data analysis with Google Bi...
 
Workshop on Google Cloud Data Platform
Workshop on Google Cloud Data PlatformWorkshop on Google Cloud Data Platform
Workshop on Google Cloud Data Platform
 
BigQuery ML - Machine learning at scale using SQL
BigQuery ML - Machine learning at scale using SQLBigQuery ML - Machine learning at scale using SQL
BigQuery ML - Machine learning at scale using SQL
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
Google BigQuery for Everyday Developer
Google BigQuery for Everyday DeveloperGoogle BigQuery for Everyday Developer
Google BigQuery for Everyday Developer
 
Big Query - Women Techmarkers (Ukraine - March 2014)
Big Query - Women Techmarkers (Ukraine - March 2014)Big Query - Women Techmarkers (Ukraine - March 2014)
Big Query - Women Techmarkers (Ukraine - March 2014)
 
Altitude San Francisco 2018: Logging at the Edge
Altitude San Francisco 2018: Logging at the Edge Altitude San Francisco 2018: Logging at the Edge
Altitude San Francisco 2018: Logging at the Edge
 

Mais de Tatvic Analytics

Webinar DV 360 Self Serve _ 25 March 2022.pptx
Webinar DV 360 Self Serve _ 25 March 2022.pptxWebinar DV 360 Self Serve _ 25 March 2022.pptx
Webinar DV 360 Self Serve _ 25 March 2022.pptxTatvic Analytics
 
Dataiku tatvic webinar presentation
Dataiku tatvic webinar presentationDataiku tatvic webinar presentation
Dataiku tatvic webinar presentationTatvic Analytics
 
What’s & Why’s of Connected TV Ads!
What’s & Why’s of Connected TV Ads! What’s & Why’s of Connected TV Ads!
What’s & Why’s of Connected TV Ads! Tatvic Analytics
 
Third Party Cookies cConundrum - A Fireside Chat
Third Party Cookies cConundrum - A Fireside Chat Third Party Cookies cConundrum - A Fireside Chat
Third Party Cookies cConundrum - A Fireside Chat Tatvic Analytics
 
How Mobile App A/B Testing with Firebase Analytics can help Product Managers ...
How Mobile App A/B Testing with Firebase Analytics can help Product Managers ...How Mobile App A/B Testing with Firebase Analytics can help Product Managers ...
How Mobile App A/B Testing with Firebase Analytics can help Product Managers ...Tatvic Analytics
 
10 Most Underused Features of Google Analytics 360 According to Experts
10 Most Underused Features of Google Analytics 360 According to Experts10 Most Underused Features of Google Analytics 360 According to Experts
10 Most Underused Features of Google Analytics 360 According to ExpertsTatvic Analytics
 
5 Advanced Data Studio Dashboards for Digital Marketers and Data Advocates
5 Advanced Data Studio Dashboards for Digital Marketers and Data Advocates5 Advanced Data Studio Dashboards for Digital Marketers and Data Advocates
5 Advanced Data Studio Dashboards for Digital Marketers and Data AdvocatesTatvic Analytics
 
5 Awesome Hypothesis to A/B test for Improving User Journeys on your Mobile I...
5 Awesome Hypothesis to A/B test for Improving User Journeys on your Mobile I...5 Awesome Hypothesis to A/B test for Improving User Journeys on your Mobile I...
5 Awesome Hypothesis to A/B test for Improving User Journeys on your Mobile I...Tatvic Analytics
 
[Webinar] 3 Reasons Why Digital Publishers Should Integrate DFP with Google A...
[Webinar] 3 Reasons Why Digital Publishers Should Integrate DFP with Google A...[Webinar] 3 Reasons Why Digital Publishers Should Integrate DFP with Google A...
[Webinar] 3 Reasons Why Digital Publishers Should Integrate DFP with Google A...Tatvic Analytics
 
How eCommerce Businesses Can Make Best Use of Google Analytics data
How eCommerce Businesses Can Make Best Use of Google Analytics dataHow eCommerce Businesses Can Make Best Use of Google Analytics data
How eCommerce Businesses Can Make Best Use of Google Analytics dataTatvic Analytics
 
5 Most Common User Experience Mistakes and How to Avoid Them
5 Most Common User Experience Mistakes and How to Avoid Them5 Most Common User Experience Mistakes and How to Avoid Them
5 Most Common User Experience Mistakes and How to Avoid ThemTatvic Analytics
 
Optimize Your Website and Mobile App Features with Markov Model and Increase ...
Optimize Your Website and Mobile App Features with Markov Model and Increase ...Optimize Your Website and Mobile App Features with Markov Model and Increase ...
Optimize Your Website and Mobile App Features with Markov Model and Increase ...Tatvic Analytics
 
[Webinar] Predict Your App Uninstalls and Prevent your Churning Users using M...
[Webinar] Predict Your App Uninstalls and Prevent your Churning Users using M...[Webinar] Predict Your App Uninstalls and Prevent your Churning Users using M...
[Webinar] Predict Your App Uninstalls and Prevent your Churning Users using M...Tatvic Analytics
 
Cross Channel Tracking with Google Analytics (Tatvic)
Cross Channel Tracking with Google Analytics (Tatvic)Cross Channel Tracking with Google Analytics (Tatvic)
Cross Channel Tracking with Google Analytics (Tatvic)Tatvic Analytics
 
How Predictive Analytics Can Help Strengthen Your Re-marketing Strategy
How Predictive Analytics Can Help Strengthen Your Re-marketing StrategyHow Predictive Analytics Can Help Strengthen Your Re-marketing Strategy
How Predictive Analytics Can Help Strengthen Your Re-marketing StrategyTatvic Analytics
 
Tatvic webinar net promoter score - final
Tatvic webinar   net promoter score - finalTatvic webinar   net promoter score - final
Tatvic webinar net promoter score - finalTatvic Analytics
 
Know where customers fail to convert - Measure your wins using Custom Funnels
Know where customers fail to convert - Measure your wins using Custom FunnelsKnow where customers fail to convert - Measure your wins using Custom Funnels
Know where customers fail to convert - Measure your wins using Custom FunnelsTatvic Analytics
 
Webinar: 3 Tactics to Optimize Your Mobile App Tracking
Webinar: 3 Tactics to Optimize Your Mobile App TrackingWebinar: 3 Tactics to Optimize Your Mobile App Tracking
Webinar: 3 Tactics to Optimize Your Mobile App TrackingTatvic Analytics
 

Mais de Tatvic Analytics (20)

Webinar DV 360 Self Serve _ 25 March 2022.pptx
Webinar DV 360 Self Serve _ 25 March 2022.pptxWebinar DV 360 Self Serve _ 25 March 2022.pptx
Webinar DV 360 Self Serve _ 25 March 2022.pptx
 
Ctv ads webinar
Ctv ads webinar Ctv ads webinar
Ctv ads webinar
 
Dataiku tatvic webinar presentation
Dataiku tatvic webinar presentationDataiku tatvic webinar presentation
Dataiku tatvic webinar presentation
 
What’s & Why’s of Connected TV Ads!
What’s & Why’s of Connected TV Ads! What’s & Why’s of Connected TV Ads!
What’s & Why’s of Connected TV Ads!
 
CRO
CRO CRO
CRO
 
Third Party Cookies cConundrum - A Fireside Chat
Third Party Cookies cConundrum - A Fireside Chat Third Party Cookies cConundrum - A Fireside Chat
Third Party Cookies cConundrum - A Fireside Chat
 
How Mobile App A/B Testing with Firebase Analytics can help Product Managers ...
How Mobile App A/B Testing with Firebase Analytics can help Product Managers ...How Mobile App A/B Testing with Firebase Analytics can help Product Managers ...
How Mobile App A/B Testing with Firebase Analytics can help Product Managers ...
 
10 Most Underused Features of Google Analytics 360 According to Experts
10 Most Underused Features of Google Analytics 360 According to Experts10 Most Underused Features of Google Analytics 360 According to Experts
10 Most Underused Features of Google Analytics 360 According to Experts
 
5 Advanced Data Studio Dashboards for Digital Marketers and Data Advocates
5 Advanced Data Studio Dashboards for Digital Marketers and Data Advocates5 Advanced Data Studio Dashboards for Digital Marketers and Data Advocates
5 Advanced Data Studio Dashboards for Digital Marketers and Data Advocates
 
5 Awesome Hypothesis to A/B test for Improving User Journeys on your Mobile I...
5 Awesome Hypothesis to A/B test for Improving User Journeys on your Mobile I...5 Awesome Hypothesis to A/B test for Improving User Journeys on your Mobile I...
5 Awesome Hypothesis to A/B test for Improving User Journeys on your Mobile I...
 
[Webinar] 3 Reasons Why Digital Publishers Should Integrate DFP with Google A...
[Webinar] 3 Reasons Why Digital Publishers Should Integrate DFP with Google A...[Webinar] 3 Reasons Why Digital Publishers Should Integrate DFP with Google A...
[Webinar] 3 Reasons Why Digital Publishers Should Integrate DFP with Google A...
 
How eCommerce Businesses Can Make Best Use of Google Analytics data
How eCommerce Businesses Can Make Best Use of Google Analytics dataHow eCommerce Businesses Can Make Best Use of Google Analytics data
How eCommerce Businesses Can Make Best Use of Google Analytics data
 
5 Most Common User Experience Mistakes and How to Avoid Them
5 Most Common User Experience Mistakes and How to Avoid Them5 Most Common User Experience Mistakes and How to Avoid Them
5 Most Common User Experience Mistakes and How to Avoid Them
 
Optimize Your Website and Mobile App Features with Markov Model and Increase ...
Optimize Your Website and Mobile App Features with Markov Model and Increase ...Optimize Your Website and Mobile App Features with Markov Model and Increase ...
Optimize Your Website and Mobile App Features with Markov Model and Increase ...
 
[Webinar] Predict Your App Uninstalls and Prevent your Churning Users using M...
[Webinar] Predict Your App Uninstalls and Prevent your Churning Users using M...[Webinar] Predict Your App Uninstalls and Prevent your Churning Users using M...
[Webinar] Predict Your App Uninstalls and Prevent your Churning Users using M...
 
Cross Channel Tracking with Google Analytics (Tatvic)
Cross Channel Tracking with Google Analytics (Tatvic)Cross Channel Tracking with Google Analytics (Tatvic)
Cross Channel Tracking with Google Analytics (Tatvic)
 
How Predictive Analytics Can Help Strengthen Your Re-marketing Strategy
How Predictive Analytics Can Help Strengthen Your Re-marketing StrategyHow Predictive Analytics Can Help Strengthen Your Re-marketing Strategy
How Predictive Analytics Can Help Strengthen Your Re-marketing Strategy
 
Tatvic webinar net promoter score - final
Tatvic webinar   net promoter score - finalTatvic webinar   net promoter score - final
Tatvic webinar net promoter score - final
 
Know where customers fail to convert - Measure your wins using Custom Funnels
Know where customers fail to convert - Measure your wins using Custom FunnelsKnow where customers fail to convert - Measure your wins using Custom Funnels
Know where customers fail to convert - Measure your wins using Custom Funnels
 
Webinar: 3 Tactics to Optimize Your Mobile App Tracking
Webinar: 3 Tactics to Optimize Your Mobile App TrackingWebinar: 3 Tactics to Optimize Your Mobile App Tracking
Webinar: 3 Tactics to Optimize Your Mobile App Tracking
 

Último

Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsJoseMangaJr1
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...amitlee9823
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...amitlee9823
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Valters Lauzums
 
ELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 

Último (20)

Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
ELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptx
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 

[Webinar] Interacting with BigQuery and Working with Advanced Queries

  • 2. SpeakersModerator Pankaj Bhatlawande Customer Success Manager, Tatvic Sarjak Patel Lead - Customer Success Manager, Tatvic 2 Who’s Who Karan Dave Content Marketing Manager, Tatvic
  • 3. Type your comments and questions here @Tatvic 3 How to Interact?
  • 4. Recap of Webinar #1 4 Introduction to BigQuery Architecture GA 360 Data in BigQuery Integrations and Use Cases
  • 5. OUTLINE 5 1 Interacting with BigQuery 2 Useful Concepts and Queries 3 Automating Queries 4 Exporting Data 5 Joining Online & Offline Data
  • 6. Interacting with BigQuery 6 Web UI REST API Command-Line Tool
  • 7. Interacting with BigQuery 7 Web UI https://bigquery.cloud.google.com/welcome/
  • 8. Interacting with BigQuery 8 Command-Line Tool • Python-based tool • https://cloud.google.com/bi gquery/bq-command-line- tool
  • 9. Interacting with BigQuery 9 BigQuery C# Go Java Node.jsPHP Python Ruby ➢ Direct HTTP requests to the server ➢ Provide idiomatic, generated or hand-written code in each language ➢ Handle all the low-level details of communication with the server ➢ Cloud Client Libraries available in multiple programming languages REST API
  • 10. OUTLINE 10 1 Interacting with BigQuery 2 Useful Concepts and Queries 3 Automating Queries 4 Exporting Data 5 Joining Online & Offline Data
  • 11. Useful Concepts and Queries 11 Custom Funnels Page Sequence Analysis Useful Functions Best Practices Custom Funnels Using Flatten
  • 12. Page Sequence Analysis 12 • Understand the sequence the users follow to reach a certain page • The sequences can be modified to be before or after and to also include events Landing Page Page A Page B Page C Contact Page
  • 13. Custom Funnels 13 • Get unsampled custom funnels with added benefits - No Backfilling - Historical Information - Apply filters - Unlimited steps • Both open and closed funnels
  • 14. 14 Using Flatten Sample Data Set • BigQuery uses repeated (nested) fields to store data • While querying nested data, BigQuery automatically flattens the table data • However, when dealing with more than one repeated field, we need to explicitly use FLATTEN on the table
  • 15. 15 Using Flatten While querying data using below query, BigQuery flattens the data automatically
  • 16. 16 Using Flatten • However, running the query: • It shows the error: • Use FLATTEN as per shown in below query to fetch proper results:
  • 17. 17 Useful Functions • BigQuery functions are more or less similar in nature to that of regular SQL • However, there are some functions which act differently to an extent COUNT([DISTINCT] field [, n]) REGEXP_MATCH('str', 'reg_exp') EXACT_COUNT_DISTINCT(field) REGEXP_REPLACE('orig_str', 'reg_exp', 'replace_str') GROUP_CONCAT('str' [, separator]) DATEDIFF(<timestamp1>,<timestamp2>) FIRST(expr), LAST(field) DAY/MONTH/HOUR/MINUTE(<timestamp>) STRING(numeric_expr), INTEGER(expr) TABLE_DATE_RANGE(prefix, timestamp1, timestamp 2) CONCAT('str1', 'str2', '...') ROW_NUMBER() DATE(<timestamp>) RANK()
  • 18. Best Practices 18 ✓ Start by sketching the expected result before writing your query ✓ Only select the relevant fields; The more fields you select, the more data it has to process and eventually leading to more time and cost ✓ Avoid using functions as fields when possible and prefer specific times and dates, to allow caching ✓ Use intermediate tables for commonly used subqueries ✓ Use caching whenever possible, reduce execution time and costing ✓ Format and comment your queries, it will be easier to read, understand and debug ✓ Statements are not case-sensitive but it’s a best practice to capitalize
  • 19. OUTLINE 19 1 Interacting with BigQuery 2 Useful Concepts and Queries 3 Automating Queries 4 Exporting Data 5 Joining Online & Offline Data
  • 20. Automating Queries 20 Using Command-Line Tool 1. Launch virtual machine on Google Cloud 2. Upload command line scripts 3. Schedule queries using cronjob
  • 21. Automating Queries 21 Using Apps Script • Google Apps Script is a scripting language based on JavaScript • Uses Google BigQuery API Manage BigQuery projects Upload new data Execute queries • https://developers.google.com/apps-script/advanced/bigquery
  • 22. OUTLINE 22 1 Interacting with BigQuery 2 Useful Concepts and Queries 3 Automating Queries 4 Exporting Data 5 Joining Online & Offline Data
  • 23. Exporting Data 23 BigQuery Connector for Excel Google Cloud Storage R Studio Google Sheets
  • 24. OUTLINE 24 1 Interacting with BigQuery 2 Useful Concepts and Queries 3 Automating Queries 4 Exporting Data 5 Joining Online & Offline Data
  • 25. Joining Online & Offline Data 25 GA 360 CRM Data BigQuery Using Command-Line Tool 1. Upload CRM data to BigQuery 2. Use join queries to create a Single View 3. Analyze end-to-end user journey
  • 26. Type your comments and questions here @Tatvic 26 Any Questions?
  • 27. Title: How to Make the Best Use of Your Google Analytics 360 Data for eCommerce Businesses Speakers: Bismayy Mohapatra and Anshul Bhatt Date: December 14, 2017 Time: 8:30 PM IST 27 Upcoming Webinar
  • 28. THANKS! 28 ●Your data speaks. We help you listen to your data.