Google Analytics

Connect your GA4 property to Formula Bot and analyze sessions, pageviews, traffic sources, conversions, and user behavior with natural language.

Connect your Google Analytics 4 (GA4) property to analyze website traffic, user behavior, and conversions with natural language.

Prerequisites

  • A Google Analytics 4 property
  • Admin or Viewer access to the GA4 property
  • A Google account with access to the property

Formula Bot only supports GA4 properties. Universal Analytics (UA) is not supported.

Setup Steps

1. Start the Connection

  1. Go to Connectors in the sidebar
  2. Click Add Connector
  3. Select Google Analytics

2. Authenticate with Google

  1. Click Connect with Google
  2. Sign in to your Google account
  3. Review the permissions requested
  4. Click Allow to grant access

Formula Bot requests read-only access to your Analytics data.

3. Select Your Property

  1. Choose the GA4 account from the dropdown
  2. Select the property you want to analyze
  3. Click Connect

4. Verify Connection

The connector status should show green. You can now use it in chats.

What Data is Available

Formula Bot can access all standard GA4 metrics and dimensions:

Metrics

  • Sessions, Users, New Users
  • Pageviews, Screen Views
  • Bounce Rate, Session Duration
  • Conversions, Revenue
  • Events and Event Parameters

Dimensions

  • Date, Hour, Day of Week
  • Source, Medium, Campaign
  • Page Path, Page Title
  • Device, Browser, Operating System
  • Country, City, Region
  • Landing Page, Exit Page

Example Questions

Traffic Analysis

  • "How many sessions did we have last month?"
  • "What are the top 10 pages by pageviews this week?"
  • "Show traffic trends for the past 90 days"

Source Analysis

  • "Which channels are driving the most traffic?"
  • "Compare organic vs paid traffic this quarter"
  • "What campaigns had the highest conversion rate?"

User Behavior

  • "What's the average session duration by device?"
  • "Show the bounce rate by landing page"
  • "What's the user journey from homepage to checkout?"

Conversions

  • "How many conversions did we get from Google Ads?"
  • "What's the conversion rate by country?"
  • "Show revenue by traffic source"

Troubleshooting

Connection Failed

  • Ensure you have at least Viewer access to the GA4 property
  • Check that you selected a GA4 property (not Universal Analytics)
  • Try disconnecting and reconnecting

No Data Showing

  • Verify the date range includes data collection period
  • Check that the property has active tracking
  • Ensure data filters aren't excluding all data

Token Expired

Google OAuth tokens expire periodically. Reconnect by:

  1. Going to Connectors
  2. Finding the GA4 connector
  3. Clicking Reconnect

Best Practices

Date Ranges

Specify clear date ranges for accurate results:

  • "Last 30 days" instead of "recently"
  • "Q4 2024" instead of "last quarter"

Specific Metrics

Be precise about what you want:

  • "Show sessions, not users"
  • "I need pageviews, not screen views"

Compare Periods

Formula Bot can compare time periods:

  • "Compare this month to last month"
  • "Year over year traffic comparison"

Next Steps