How to Import Google Analytics into Notion

Managing search and performance data is crucial for understanding your website's visibility on Google. If you're constantly switching between Google Analytics and Notion, manually copying insights, there's a better way.

With the Notion Google Analytics integration, you can automate data sync and manage website analytics directly within Notion—without writing a single line of code. Using Note API Connector, you can effortlessly import Google Analytics to Notion, visualize performance trends, and optimize your SEO strategy all in one place.

Whether you're an SEO specialist, content marketer, or website owner, this integration will save hours of manual data entry and bring your Google Analytics insights into your Notion workspace.

Getting started with Note API Connector

You can get started in just a few clicks:

Simply authenticate your Notion account, grant the necessary permissions, and start creating API requests effortlessly.

👉 Follow the official setup guide for step-by-step instructions.

Enable Google Analytics Data API

To begin the Notion Google Analytics integration, first activate the Google Analytics Data API in your Google Cloud account.

👉 Follow this guide with step-by-step instructions.

Once you've created your account, enable Google Analytics Data API.

In Google Cloud Console, type Google Analytics Data API and select it from the dropdown.

Google Analytics Data API

Click ENABLE to use Google Analytics Data API.

Google Analytics Data API

Then, make sure you have both a Service Account and OAuth Client in API credentials.

Google Analytics Data API Credentials

If you are missing either, check these guides on how to create them:

👉 Follow this guide for a detailed walkthrough of setting up your Service Account.

👉 Follow this guide to create your Google OAuth client.

If this is your first time using Google Cloud APIs, you may also need to add this API as a credential type.

Add Google OAuth Connection to Note API Connector

Now it’s time to connect Google Analytics to Notion through OAuth. Click Create request and select Authorization → OAuth → New.

Notion Google Oauth

Enter the following details from your OAuth JSON file into the OAuth configuration modal window.

  • Name, e.g. Google Analytics
  • Authorization Base URLhttps://accounts.google.com/o/oauth2/auth
  • Token URLhttps://oauth2.googleapis.com/token
  • Client ID → your Client ID from JSON file
  • Client Secret → your Client secret from JSON file
  • Scopeshttps://www.googleapis.com/auth/analytics.readonly
Notion Google OAuth

Popup window will appear prompting you to log in with your Google account. This step is required to create secure connection between Note API Connector and Google.

Notion Google OAuth Verify

After successful authentication, you will see a success status in Note API Connector dropdown, indicating that Google and Note API Connector are now connected and ready for data sync.

Notion Google OAuth Success

Import Google Analytics Data to Notion

With everything set up, importing Google Analytics data into Notion is just a few clicks away.

You can explore Google Analytics Data API here.

Analytics reporting is based on dimensions and metrics. You can also use this interactive GA4 query builder to construct your request.

Set up the API request with the following parameters.

  • Method: POST
  • URL: https://analyticsdata.googleapis.com/v1beta/properties/{property_id}:runReport
  • Body → JSON:
    {
                  "dimensions": [{ "name": "date" },{ "name": "deviceCategory" }],
                  "metrics": [
                  { "name": "activeUsers" },
                  { "name": "newUsers" },
                  { "name": "sessions" }
                  ],
                  "dateRanges": [{"startDate": "2024-01-01","endDate": "2024-05-01"}]
                  }
Google Search Analytics Params

Click Run to fetch data. You can review data in the Response Field Mapping view.

Notion Select Rows

Google Analytics response data is nested, so you’ll need a JMESPath expression to format it properly for Notion

Notion JMES
          rows[].{
            date: dimensionValues[0].value,
            deviceCategory: dimensionValues[1].value,
            activeUsers: metricValues[0].value,
            newUsers: metricValues[1].value,
            sessions: metricValues[2].value
          }
        

Click Save & Import to store the data in your Notion database.

Google Analytics Notion Imported Data

Automate Data Updates in Notion

Manually copying Google Analytics reports into Notion can be time-consuming and prone to error. With Note API Connector’s automated scheduling feature, you can easily automate data updates and ensure your dashboards stay up to date.

You can schedule requests to run hourly, daily, weekly, or at custom intervals. This means your Notion Google Analytics integration will continuously sync the latest performance metrics, giving you a real-time view of user behavior, sessions, conversions, and more.

Whether you're tracking traffic sources, device breakdowns, or daily user activity, automating the data import process helps streamline reporting and saves you from repetitive tasks.

Automate Data Updates

Conclusion

Connecting Google Analytics with Notion using Note API Connector allows you to build a powerful, automated reporting system—right inside your Notion workspace. With the Notion Google Analytics integration, you’ll save hours on manual data entry, reduce context switching, and stay focused on what matters: insights and execution.

You can import Google Analytics to Notion in just a few steps, visualize metrics like active users or sessions, and even automate daily updates—all without writing any code.

🚀 Ready to turn Notion into your personal analytics dashboard? Try Note API Connector today and bring your Google Analytics data to life inside Notion.

Frequently asked questions