# Integrate Google Analytics 4 with Databox

Google Analytics 4 (GA4) is Google's analytics platform for measuring user interactions across websites and mobile apps using an event-driven data model. Every interaction — from page views and scrolls to purchases and custom events — is captured as an event, giving marketing, product, and growth teams a granular view of how users engage with their digital properties. Connecting GA4 to Databox brings your web and app analytics alongside data from your marketing, sales, and support tools, so you can monitor traffic sources, track conversion performance, and share progress in a unified view.

## Connection

### Before you begin

### Step 1: Add a connection

1. Click **Connect** to open the Google sign-in dialog.
2. Sign in with the Google account you want to connect.
3. Review the permissions Databox is requesting and click **Allow**.


If you've already established a connection, you can [reuse](/add-a-data-source) it to add new accounts, as long as those accounts are accessible with the existing connection's credentials.

connect-google-analytics-4-to-databox
### Step 2: Select a property

Select the **GA4 property** you want to use as the data source.

## Metric Builder

The Google Analytics 4 integration allows you to create custom metrics using the metric builder, ideal for visualizing data not included in the basic metrics offered by the integration.

google-analytics-4-metric-builder
To create a custom metric, start by selecting a metric from the **Metric** selector. Next, customize your metric by optionally adding one or more dimensions and applying filters under **Advanced options**. The available options depend on the selected metric and the data in your GA4 property.

Expand **Advanced options** to add one or more filters to restrict the data included in the metric. You can filter **by Dimension** or **by Metric**:

- **Filter by Dimension** — select a **Dimension**, an **Operator** (such as Exact match), and a **Value** to include only rows where the dimension matches the condition.
- **Filter by Metric** — select an **Operator** and enter a **Value** to include only rows where the metric value meets the condition.


 **In Google Analytics 4:** Go to **Reports > Engagement > Events** to explore the events, dimensions, and metrics available in your property. For more detailed information, refer to the [official Google Analytics documentation](https://ga-dev-tools.google/ga4/dimensions-metrics-explorer/).

## ![lock](/assets/lock.2fb1bbc208afcc03d15a0a45f22bdf7f830322016e038e5721965851130807af.419bb737.svg) Datasets

The Google Analytics 4 integration supports the creation of [datasets](/understanding-datasets), which allow you to structure and format your Google Analytics 4 data for more flexible reporting in Databox. By organizing your data into a tabular format, datasets make it easier to filter, segment, and visualize key metrics across projects, clients, and team members.

The entity relationship diagram (ERD) below illustrates how data is organized within the Google Analytics 4 integration, displaying the available **views** and **columns**, as well as the relationships between them (primary and foreign keys). This diagram represents the **schema**, or structure, of the data and helps you understand the underlying data model. With this context, you can create datasets using the relevant views and columns to build custom metrics tailored to your reporting needs.

## Resources

For comprehensive details on metrics, data availability, templates, specifications, usage guidelines, and other key information, refer to the resources listed below.

The metric builder pulls analytics data from Google Analytics' APIs. If an entity or property is missing, it is likely due to limited API support or technical implementation restrictions. If there's something you'd like to see included, feel free to [submit a request](https://roadmap.databox.com/b/metric-requests/) on our Roadmap, so we can consider it for future updates to the integration.

 

Ask Genie
Get instant answers or help with your data using the in-app AI assistant.

Talk to an expert
For customers: Get help with your setup, strategy, or making the most of Databox.

Book a demo
New to Databox? See how it works and get guidance on getting started.

Send an email
Reach out to support for help with your account, data, or technical issues.