Architecture and security
A clean GA4 model in your Power BI.
We build and maintain it in your tenant, with keyless, revocable pipeline access. Your GA4 identifiers and user-level tables stay in your Google Cloud project.
At a glance
- Your GA4 identifiers stay in your Google Cloud project; the semantic model lives in your Power BI tenant.
- Your teams get attribution, conversion paths, and funnel drop-offs in their own Power BI, recomputed every day.
- Every measure is defined once, so your whole team reads the same number.
Five steps, and who runs each one
Your team could build this chain from scratch. Ours already delivers 70 report pages, from attribution to funnel drop-offs. We maintain it as GA4 changes.
You keep your GA4 as it is
Same properties, same tags, same measurement plan. Lightstack never touches your site or your GA4 setup.
GA4 properties · existing measurement plan · no schema change
Google exports your GA4 events to BigQuery
The native GA4 export writes raw, unsampled events into a dataset you own. You switch it on yourself, in about ten minutes.
events_YYYYMMDD · event level · unsampled · your dataset
Lightstack builds the analysis tables
Every day, our pipeline reads your export. By default, it writes user-level tables to your dataset and identifier-free aggregates to ours. Each table is checked before anything moves on.
Dataform · BigQuery Standard SQL · assertions on every table
One Power BI model reads those tables
A single semantic model, with each measure defined once, refreshes after each run. It reads identifier-free aggregates only.
Import mode · calculation groups · incremental refresh, last 3 days
Your teams open the report
They open it through a Power BI app, from a dedicated workspace on your capacity.
dedicated workspace · your capacity · app readers · Microsoft audit
The rights we ask for
In Google Cloud, one identity per client holds two roles on named datasets and none on the project. In Power BI, we ask for admin access to one dedicated workspace, as a guest.
| A dedicated service accountCreated for your project only, never shared with another client. If your organization restricts outside identities, you add our Google Cloud organization to the allowed list. | Created for your project only, never shared with another client. If your organization restricts outside identities, you add our Google Cloud organization to the allowed list. |
|---|---|
| Read on the exportThe BigQuery Data Viewer role on the dataset of your GA4 export, and nothing else. | The BigQuery Data Viewer role on the dataset of your GA4 export, and nothing else. |
| Write on one datasetThe BigQuery Data Editor role on a single dataset you create for Lightstack. | The BigQuery Data Editor role on a single dataset you create for Lightstack. |
| No key fileOur organization’s policy forbids creating service-account keys. We impersonate the identity only while a run lasts. | Our organization’s policy forbids creating service-account keys. We impersonate the identity only while a run lasts. |
| Revocable by youYou remove the roles yourself, in your console, without delay and without asking us. | You remove the roles yourself, in your console, without delay and without asking us. |
| Logged in your projectEvery read and write appears in your Cloud Audit Logs, with the job name. | Every read and write appears in your Cloud Audit Logs, with the job name. |
Your identifiers stay under your control
Shared hosting, our default, keeps GA4 identifiers and user-level tables in your project. So your GDPR review stays light. Two other options cover stricter policies. Who runs and pays for BigQuery depends on the option; we set it together.
Choose an option
Your identifiers and user-level tables stay in your project. Our project runs the pipeline and holds your identifier-free aggregates, in a dataset reserved for you.
Teams whose policy allows identifier-free aggregates outside their project.
Same pipeline, run remotely, but every table, user-level and aggregate, is written to your dedicated dataset. Only the code and the execution stay with us.
Perimeters that forbid any data leaving the project, such as VPC Service Controls.
We build everything in your own project and tenant, with an account your organization issues. Code, tables, and model are yours at delivery; maintenance is optional.
Organizations that accept no external identity at all.
In all three options, identifiers and raw events never leave your project.
Who is responsible for what under GDPR
We are a processor
When you buy directly, RTB Strategic Analytics acts as your processor under Article 28. You stay the controller of your GA4 data.
Your export’s region
We create all tables in your export’s region, the EU by default. For an EU and US group, we consolidate US aggregates into the EU, never the reverse.
No identifiers in the model
The Power BI model holds aggregates only. User-level tables, with pseudonymized identifiers, stay in your Google Cloud project.
A signed DPA
A data processing agreement, with Google Cloud and Microsoft listed as sub-processors, before any access is granted.
Four steps to production
We confirm this typical timeline at your data volume. We set dates with you once your security review is done.
Week 0
Security review
Your security team gets this page, the DPA, and the access matrix, and reviews them before any access.
Week 0
Access
You switch on the export, grant the roles, and prepare a Power BI workspace on your capacity.
Weeks 1–2
First version
We load up to 25 months from your export, then publish the first pages on your data.

Executive Summary Weeks 3–4
Production
The pipeline runs every day with consistency checks against GA4, and your teams get reader access.

Data trust score
What we ask from you
Four things, most of them done once. Everything else is on our side.
No data lake, no ETL tool, no measures to write, no refresh or .pbix to look after.
- Enable the GA4 exportIn GA4, link your property to BigQuery; Google starts writing events the next day.
- Grant two rolesRead on the export dataset, write on a dedicated dataset, both on our identity, both revocable.
- A Power BI workspaceA dedicated workspace on your Fabric or Premium capacity, with guest admin access for us and XMLA read-write.
- One contactSomeone who owns GA4 tagging and handles security questions during the first weeks.
Questions your security team asks
Your GA4 identifiers and user-level tables stay in your Google Cloud project; we don’t take them. We compute identifier-free aggregates in our project, in your export’s region. Our identity holds two roles on named datasets, uses no key, and you can revoke it anytime.
No. You grant two roles to our pipeline identity, and no key changes hands. Our organization’s policy forbids creating service-account keys, so this identity has none to leak or rotate.
When you buy directly, RTB Strategic Analytics is your processor under Article 28. A signed DPA lists its sub-processors. Tables stay in your export’s region, the EU by default. The Power BI model contains no personal identifier.
The model imports identifier-free aggregates, not events, and each refresh reloads only the last three days. Your teams open a published report; building and maintaining it is our job.
Your export and your user-level tables stay in your project, untouched. We stop the pipeline and revoke the model’s access to our aggregates. You remove our roles in your console. The source code is held in escrow under the contract.
Yes. Lightstack reads it as it is, with no new tagging, and loads up to 25 months of history. The GA4 export can’t be backfilled, so year-over-year comparison depends on how far yours goes back.
Review the architecture with us.
With your security team, we go through the access matrix, the hosting option, and the DPA, line by line.