Use the GA4 Exports Template in Data Explorer
Power My Analytics offers pre-made report templates in our Data Explorer for use with your Google Analytics 4 data. By using our GA4 report templates, you can configure your reports in just a few minutes and prepare your data for export to destinations like BigQuery, SQL, and FTP.
Why Use the GA4 Exports Template?
PMA's Data Explorer includes the template GA4 Exports. Using this template will create the following set of pre-made reports in Data Explorer for your Google Analytics 4 data:
- Checkout Journey
- Content
- Ecommerce Purchases
- Events
- Landing Page
- Overview
- Overview - GEO
- Planning - Google Ads
- Purchase Journey
- Tech
These reports contain several preselected common fields and are designed to replicate the GA4 user interface. With this template, you'll only have to set up your GA4 report in Data Explorer once, and the GA4 Exports report group can then be created automatically using the Create Template Reports function.
Getting Started
In this guide, we'll walk you through the process of setting up your GA4 Exports template reports:
- Connect your Google account as a data source.
- Set up your Data Explorer report group using PMA's GA4 Exports template and configure your reports for an initial backfill.
- Configure your export to SQL, BigQuery, or FTP and run the initial backfill to export your historical data.
- Set up your reports and exports to use a rolling update window, keeping your exports up to date with the latest data.
Before You Begin
An Enterprise subscription to Power My Analytics is required in order to export your Data Explorer reports.
- Your Google account must have Viewer access in GA4 at the Property and View levels.
- Make sure you are logged in to the Google account with access to the GA4 property.
Step 1: Connect Your Google Account as a Data Source
First, you'll need to add your Google account as a data source to access your GA4 data.
- In your PMA hub, go to Sources in the left sidebar.
- Click on + New Data Source.
- Click on Google.
- Select your Google account to sign in.
- Click Continue.
- You will be asked to grant permissions to your Google account. Select Edit Google Analytics management entities and View and manage your Google Analytics data.
- Click Continue.
Step 2: Create Your GA4 Reports
The next step is to create your GA4 Exports reports in the Data Explorer.
Create Your Initial Report
- In your hub, go to Reports > Data Explorer in the left sidebar.
- Click + Add Report.
- Click on Report Name and enter a name for your report, like "GA4 Export - Your Organization Name".
- Under Connector, select Google Analytics 4.
- For Data Account, click Account and select the Google account you connected as a data source.
- Under Configure, click on Account and select the GA4 property or properties you want to export. Click Set Config.
- For Date Range, choose the duration of data you want to export for your initial backfill of historical data. For example, you can pick a date range of Last X months and select the last 24 months.
- Click Set Range.
- In Fields, you can enter any metric or dimension (such as Date), as this will be overwritten by PMA's GA4 Exports templates. Click Set Fields to continue.
- Under Filter, optionally create a filter for your data. Click Set Filter to continue.
- Under Options, select any field for Order By and set the Limit to 1000000.
- Click Save to save your report.
Create Your GA4 Template Reports
- Go back to Reports > Data Explorer. Create your report group by clicking on the pencil icon next to the Group menu.
- In Group Name, enter a name for the report group, such as "GA4 Exports Group". Click Create.
- Return to Reports > Data Explorer and find the name of your report. Click on the green copy icon in your report's row to Create template reports.
- For Template Reports, select GA4 Exports.
- Under Report Group, select the name of the report group you just created.
- Click Confirm to create the GA4 template reports.
You will be taken to the report group you created, which contains the 10 GA4 reports:
Your reports are now ready to be exported.
For detailed instructions on setting up exports to specific data destinations, please see the following articles:
- How to Export to BigQuery
- How to Export to MySQL
- How to Export to Azure SQL Database
- How to Create an FTP Export
In this example, we'll configure an export of the reports to BigQuery.
- In the left sidebar, go to Exports > BigQuery.
- Click + Create Export.
- Under Destination, select your BigQuery account.
- For Dataset, select your BigQuery dataset and enter a Table name prefix (e.g., "ga4_"). Click Next.
- Under Report or Report Group, select Group of reports. For Report Group, select the name of the report group you created. Click Next.
- For Schedule, select any Refresh Period (you'll initiate the export manually in the next step).
- Click Add, then click Confirm to create the export.
- Find your export in Exports > BigQuery, then click the play icon to Run Export Now. The export will begin running, as indicated by the three dots icon.
- Wait for the three dots icon to change back to a play button, indicating the export has finished.
Step 4: Set Up Rolling Updates of Your Data
Now it's time to configure your reports and your export for rolling updates.
Note: When choosing your report's date range in Data Explorer, make sure it is at least as long as the export's scheduled refresh period in order to avoid missing data. For example:
- If your report's date range is one week but your export refreshes monthly, your export will fail to include data from before the last week of the month.
- If your report's date range is one week and your export refreshes daily, your export will overwrite the past seven days every day, keeping this data up to date.
- Go to Reports > Data Explorer and click on Group. Select the group you created for the GA4 Exports template reports.
- For each report in the group:
- Click the pencil icon to Edit Report.
- Go to Date Range and choose a rolling window (e.g., last 7 days).
- Click Set Range, then Save.
- Go back to Exports > BigQuery and click the pencil icon to Edit Export.
- Under Schedule, choose how frequently you want your data export to run (monthly, weekly, daily, or hourly).
- Click Update, then Confirm.
Your export will now run automatically at the scheduled time.
Still having issues?
Send us a ticket and we will get back to you.
Related Articles
How to Create a Report in Data Explorer
Data Explorer is a valuable tool that can be used to create reports for export to BigQuery or FTP , to test out a connection, or even to create a CSV file. This tool is available to all Power My Analytics customers and is included in the cost of your ...
How to Use a Multi-Source Report Template in Looker Studio
Are you a Looker Studio template user looking to streamline your reporting process? Look no further! In this article, we'll cover how to use a multi-source report template in Looker Studio. We'll walk through the steps of selecting data sources, ...
How to Use Sample Data
Sample Data allows you to showcase templates and reports to potential clients without sharing sensitive information. Read this article to learn how to use Sample Data in Looker Studio. Can I Use Sample Data? Currently, Sample Data is only available ...
Can I Customize Looker Studio Templates?
Yes, you can customize any Power My Analytics template for Looker Studio. Here are a few ideas to get you started. Brand Your Report In Edit Mode, you can right-click on our logo at the top and select Delete in the drop-down menu that appears. You ...
How to Use Schema Explorer
The PMA Schema Explorer is an easy way to find metrics and dimensions that are available for your connectors and identify any possible conflicts or errors. Schema Explorer can find additional fields that are compatible with your selected fields and ...