How to extract data from Google Analytics into Google Sheets

Note: Google Data Studio is now known as Looker Studio.

Before you pull data into Google Sheets from any data source, you should first figure out the overall layout and format of how your data table should look like in the Google Sheets.

2 1

It’s like creating a wireframe before you actually start designing a website. You can create this wireframe either in your head or on a piece of paper or by using a tool like Balsamiq Cloud https://balsamiq.cloud/ You can also use an existing Google Analytics report as a wireframe.

For example, I will show you how to create the following GA report in Google Sheets:

2 2

Here the screenshot of the GA report acts as a wireframe for us.

From the GA screenshot above we can determine the following things about, how our data table should look like in Google Sheets:

  1. Our data table should have one primary dimension called ‘Country’.
  2. Our data table should have the following three metrics: ‘Sessions’, “%New Sessions’ and ‘New users’.
  3. The data table needs to have 10 rows
  4. The data in the data table should be sorted by ‘sessions’ in descending order.
  5. The data in the data table should be from the last month (not shown in the GA screenshot above).

Make sure you have installed the Supermetrics for Google Sheets add-on before you continue.

Other Articles on Google Sheets

  1. How to use Looker Studio with Google Sheets
  2. How to extract data from Excel or CSV file into Google Sheets
  3. How to extract data from Google Ads to Google Sheets
  4. How to use Supermetrics for Google Sheets Add-on
  5. Connect and transfer data from Google Sheets to BigQuery
  6. Sending data from Google Search Console to Google Sheets
  7. Supermetrics Queries for Google Sheets – Tutorial
  8. Google Sheets & Looker Studio Timezone Conversion
  9. Looker Studio Date Format for Google Sheets – Tutorial
  10. Learn to export Facebook ads data to Google Sheets
  11. Understanding Aggregation in Google Sheets

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

About the Author

Himanshu Sharma

  • Founder, OptimizeSmart.com
  • Over 15 years of experience in digital analytics and marketing
  • Author of four best-selling books on digital analytics and conversion optimization
  • Nominated for Digital Analytics Association Awards for Excellence
  • Runs one of the most popular blogs in the world on digital analytics
  • Consultant to countless small and big businesses over the decade