{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["availability","partial","img","faq","faq-item"]},"type":"markdown","userRole":"Users, Editors, and Admins","accountType":"All accounts","plan":"One or more features exclusive to select subscription plans or add-ons"},"seo":{"title":"Integrate Google Analytics 4 with Databox","description":"Connect Google Analytics 4 to Databox to track website and app performance, monitor user behavior, and visualize event and conversion data alongside all your other tools.","siteUrl":"https://help.databox.com","llmstxt":{"title":"Databox Knowledge Base","description":"Databox is a business analytics platform that consolidates data in one place, enabling real-time performance tracking and insights by mixing and matching data from various sources for a comprehensive view.","details":{"content":"This knowledge base covers everything from account setup and integrations to building Databoards, creating custom metrics, and using AI-powered features."},"sections":[{"title":"General","includeFiles":["docs/general/*.md","docs/general/visualization-types/*.md","docs/general/templates/*.md"],"excludeFiles":[]},{"title":"AI","includeFiles":["docs/ai/*.md"],"excludeFiles":[]},{"title":"Account Management","includeFiles":["docs/account-management/**/*.md"],"excludeFiles":[]},{"title":"Databoards","includeFiles":["docs/databoards/**/*.md"],"excludeFiles":[]},{"title":"Data Management","includeFiles":["docs/data-management/**/*.md"],"excludeFiles":[]},{"title":"Metrics","includeFiles":["docs/metrics/**/*.md"],"excludeFiles":[]},{"title":"Forecasts","includeFiles":["docs/forecasts/*.md"],"excludeFiles":[]},{"title":"Goals","includeFiles":["docs/goals/*.md"],"excludeFiles":[]},{"title":"Reports","includeFiles":["docs/reports/*.md"],"excludeFiles":[]},{"title":"Notifications","includeFiles":["docs/notifications/*.md"],"excludeFiles":[]},{"title":"Pricing and Billing","includeFiles":["docs/pricing-and-billing/*.md"],"excludeFiles":[]},{"title":"Mobile","includeFiles":["docs/mobile/*.md"],"excludeFiles":[]},{"title":"Support","includeFiles":["docs/support/*.md"],"excludeFiles":[]},{"title":"Integrations","includeFiles":["docs/integrations/**/*.md"],"excludeFiles":[]}],"hide":false,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"integrate-google-analytics-4-with-databox","__idx":0},"children":["Integrate Google Analytics 4 with Databox"]},{"$$mdtype":"Tag","name":"Availability","attributes":{"users":"users","accounts":"all","plans":"partial"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"connection","__idx":1},"children":["Connection"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"before-you-begin","__idx":2},"children":["Before you begin"]},{"$$mdtype":"Tag","name":"IntegrationPermissions","attributes":{"integrationKey":"google-analytics-4"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-1-add-a-connection","__idx":3},"children":["Step 1: Add a connection"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect"]}," to open the Google sign-in dialog."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sign in with the Google account you want to connect."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Review the permissions Databox is requesting and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you've already established a connection, you can ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/add-a-data-source"},"children":["reuse"]}," it to add new accounts, as long as those accounts are accessible with the existing connection's credentials."]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/integrate-google-analytics-4-with-databox_1.fa68d87147e7720fa4a739899fb5c9024b789706fe04c5a77055a1b2c8973ee2.4783b0ec.png","alt":"connect-google-analytics-4-to-databox","withLightbox":true,"className":"ss-img","style":"margin-top: 10px;"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-2-select-a-property","__idx":4},"children":["Step 2: Select a property"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GA4 property"]}," you want to use as the data source."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"metric-builder","__idx":5},"children":["Metric Builder"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/integrate-google-analytics-4-with-databox_2.e4424a60905b0f7a285bb3a8526f084733e1561fd9eca41f2295d9464a9efaa5.4783b0ec.png","alt":"google-analytics-4-metric-builder","withLightbox":true,"className":"ss-img","style":"margin-top: 10px; margin-bottom: 10px;"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To create a custom metric, start by selecting a metric from the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Metric"]}," selector. Next, customize your metric by optionally adding one or more dimensions and applying filters under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced options"]},". The available options depend on the selected metric and the data in your GA4 property."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Expand ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced options"]}," to add one or more filters to restrict the data included in the metric. You can filter ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["by Dimension"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["by Metric"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Filter by Dimension"]}," — select a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dimension"]},", an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Operator"]}," (such as Exact match), and a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Value"]}," to include only rows where the dimension matches the condition."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Filter by Metric"]}," — select an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Operator"]}," and enter a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Value"]}," to include only rows where the metric value meets the condition."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/eye-open.01fa8df107050486c946fe7375d84f07ab920629bcee3449d51d3976a4cea5cc.419bb737.svg","alt":"see","withLightbox":false,"style":"vertical-align: text-bottom;"},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["In Google Analytics 4:"]}," Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Reports > Engagement > Events"]}," to explore the events, dimensions, and metrics available in your property. For more detailed information, refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://ga-dev-tools.google/ga4/dimensions-metrics-explorer/"},"children":["official Google Analytics documentation"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"datasets","__idx":6},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/lock.2fb1bbc208afcc03d15a0a45f22bdf7f830322016e038e5721965851130807af.419bb737.svg","alt":"lock"},"children":[]}," Datasets"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ","Google Analytics 4"," integration supports the creation of ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/understanding-datasets"},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The entity relationship diagram (ERD) below illustrates how data is organized within the ","Google Analytics 4"," integration, displaying the available ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["views"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["columns"]},", as well as the relationships between them (primary and foreign keys). This diagram represents the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"SchemaExplorer","attributes":{"integrationKey":"GoogleAnalytics4"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"resources","__idx":7},"children":["Resources"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For comprehensive details on metrics, data availability, templates, specifications, usage guidelines, and other key information, refer to the resources listed below."]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":4,"cardMinWidth":240},"children":[{"$$mdtype":"Tag","name":"IntegrationResources","attributes":{"integrationKey":"google-analytics-4"},"children":[]}]},{"$$mdtype":"Tag","name":"Faq","attributes":{},"children":[{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"Why are certain entities or properties unavailable in the metric builder?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://databox.com/roadmap-request"},"children":["submit a request"]},", so we can consider it for future updates to the integration."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[" "]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":4,"cardMinWidth":160},"children":[{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Ask Genie","icon":"genie","to":"https://app.databox.com/genie","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get instant answers or help with your data using the in-app AI assistant."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Talk to an expert","icon":"assistance","to":"https://meetings.hubspot.com/databox-meeting/account-management","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For customers: Get help with your setup, strategy, or making the most of Databox."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Book a demo","icon":"eye-open","to":"https://meetings.hubspot.com/databox-meeting/ref-knowledge-base","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["New to Databox? See how it works and get guidance on getting started."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Send an email","icon":"help","to":"mailto:help@databox.com","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Reach out to support for help with your account, data, or technical issues."]}]}]}]},"headings":[{"value":"Integrate Google Analytics 4 with Databox","id":"integrate-google-analytics-4-with-databox","depth":1},{"value":"Connection","id":"connection","depth":2},{"value":"Before you begin","id":"before-you-begin","depth":3},{"value":"Step 1: Add a connection","id":"step-1-add-a-connection","depth":3},{"value":"Step 2: Select a property","id":"step-2-select-a-property","depth":3},{"value":"Metric Builder","id":"metric-builder","depth":2},{"value":"Datasets","id":"datasets","depth":2},{"value":"Resources","id":"resources","depth":2}],"frontmatter":{"slug":"integrate-google-analytics-4-with-databox","seo":{"title":"Integrate Google Analytics 4 with Databox","description":"Connect Google Analytics 4 to Databox to track website and app performance, monitor user behavior, and visualize event and conversion data alongside all your other tools."},"keywords":{"includes":["google analytics 4","connect google analytics 4","ga4 integration","ga4 metric builder","google analytics 4 events","ga4 dimensions","ga4 filters","ga4 datasets","google analytics 4 databox","ga4 event count"]},"metadata":{"userRole":"Users, Editors, and Admins","accountType":"All accounts","plan":"One or more features exclusive to select subscription plans or add-ons"}},"lastModified":"2026-05-29T09:01:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/integrate-google-analytics-4-with-databox","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}