Goran Culibrk

Goran Culibrk

Last updated on Nov 28, 2026

Connect Google BigQuery to import Google Analytics 4 (GA4) data and analyze traffic, sessions, conversions, and user behavior for your app.

These features require BigQuery: the Traffic Sources, Attribution and Campaigns tabs, and the Keywords and Categories tabs of the ASO hub. BigQuery also adds the Traffic source filter, keyword traffic and the Cohorts Sources rows. For the full list, see Which Features Need Which Connection.

What You'll Get

Once connected, Ranksy shows:

  • Traffic Sources: Where visitors come from
  • Pageviews: How many people view your app listing
  • Sessions: Complete user journeys
  • Geographic Data: User locations
  • Device Data: Mobile vs desktop traffic
  • Click Events: User interactions
  • Conversion Tracking: From view to install
  • Attribution: Which channels drive customers

Ranksy shows this data in the Traffic Hub.

Prerequisites

You must have these items before you connect:

  • Google Analytics 4 (GA4) that tracks your app
  • GA4 linked to BigQuery, with the data export turned on
  • At least 24 hours of exported data

If you do not have the BigQuery export, refer to Set Up GA4 BigQuery Export.

How the Connection Works

Ranksy connects to BigQuery with a Ranksy service account. You do not sign in with Google. You give the service account read access in your Google Cloud project. Then you enter your project ID and dataset ID in Ranksy.

Connection Steps

  1. In Google Cloud, give ranksy-service-account@ranksy-466612.iam.gserviceaccount.com the BigQuery Data Viewer role and the BigQuery Job User role.
  2. In Ranksy, open the BigQuery tab of App Settings.
  3. Enter the Google Cloud Project ID and the BigQuery Dataset ID.
  4. Click Save Configuration & Import Data.

For the full procedure, refer to Connect BigQuery with Service Account.

After You Connect

First Import

When you save, Ranksy starts the first import. The first import reads all GA4 export tables that are in your dataset. Thus, Ranksy imports all the history that GA4 has already exported. The time of the import depends on the quantity of data. You can close the page. The import continues in the background.

Automatic Imports

After the first import, Ranksy imports new data automatically:

  • Approximately every 4 minutes, Ranksy reads the data of the current day.
  • One time each hour, Ranksy reads the data of the last 7 days again.

You do not have to do anything. There is no manual import button.

Re-import Data

If your data looks incorrect, you can import it again:

  1. Open the BigQuery tab.
  2. Click Re-import Data.
  3. Click Yes, Re-import Data.

⚠️ Warning: A re-import deletes all BigQuery analytics data of this app first. Then Ranksy imports all data again from your dataset.

Disconnect

  1. Open the BigQuery tab.
  2. Click Disconnect BigQuery.
  3. Click Yes, Disconnect.

⚠️ Warning: When you disconnect, Ranksy deletes all BigQuery events, sessions, and traffic data of this app. The data in your BigQuery dataset does not change. If you connect again, Ranksy imports the data again.

Troubleshooting

Status Shows "Access Denied"

The Ranksy service account cannot read your dataset.

Fix:

  1. In Google Cloud, make sure that the service account has the BigQuery Data Viewer role and the BigQuery Job User role.
  2. In Ranksy, open the BigQuery tab.
  3. Click Save Configuration & Import Data again. Syncing starts again.

Status Shows an Error

Fix:

  • Make sure that the Google Cloud Project ID is the project ID, not the project name.
  • Make sure that the BigQuery Dataset ID has the format analytics_XXXXXXXXX.
  • Make sure that the dataset has tables with the names events_YYYYMMDD.

No Data Shows in Ranksy

Fix:

  • Make sure that GA4 collects events. Look in Google Analytics.
  • Make sure that the dataset has export tables. Look in the BigQuery console.
  • Wait for the next daily export from GA4.

Costs and Billing

Ranksy runs its queries in your Google Cloud project. This is why the service account needs the BigQuery Job User role. Google bills this BigQuery use to your project.

The BigQuery free tier includes:

  • 1 TB of query processing each month
  • 10 GB of storage

Most apps stay within the free tier.

💡 Tip: Set a budget alert in Google Cloud Billing. Then Google tells you when usage increases.

To check your usage:

  1. Go to the Google Cloud Console.
  2. Go to Billing → Reports.
  3. Filter by BigQuery.

FAQ

Is BigQuery required?

Not for every feature, but we recommend it. Without it, the Traffic Sources, Attribution and Campaigns tabs and the Keywords and Categories tabs of the ASO hub do not work. Revenue (Partner API), tracked keyword ranks and competitors work without it. See Which Features Need Which Connection.

Can I use the same BigQuery for multiple apps?

Yes, if the apps share the same GA4 property. If they do not, each app needs its own GA4 and BigQuery setup.

What if I don't have GA4 on my app?

You must set up GA4 tracking first. Contact support for help.

Can I import historical data later?

Ranksy imports all export tables that are in your dataset. GA4 does not export data from before you turned on the export. Thus, turn on the GA4 export as early as possible.

What happens if I disconnect?

Ranksy deletes the BigQuery data that it imported for this app. The data in your BigQuery dataset does not change. You can connect again at any time.

Can I sign in with Google instead of the service account?

No. Ranksy connects to BigQuery only with the service account. To connect Google Analytics directly with your Google account, use the Google Analytics tab in App Settings.

Next steps