> For the complete documentation index, see [llms.txt](https://help.daasity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.daasity.com/core-concepts/data-integrations/setup-guides/digital-integrations/google-analytics-4/api-vs-bigquery.md).

# API vs BigQuery

## Overview

In the Daasity app, you have two options for integrating Google Analytics 4:

<div align="left"><figure><img src="/files/DnK0hBZv2vYzLHJc4Rlr" alt=""><figcaption></figcaption></figure></div>

Both integrations will populate your data warehouse with GA4 data, but they do so in different ways.&#x20;

The API integration will pull your data from the GA4 Data API. The BigQuery integration will pull data from [your GA4 BigQuery data export](https://support.google.com/analytics/answer/9358801?hl=en). The data from each of these integrations is used in different ways.

## Which should you set up?

The short answer is: Both. We are using API data and BigQuery data in different places of our data model.

We are using **API** data to populate:

* Traffic reporting
* PDP performance reporting
* Last-click transactions reporting
* Shopping stage reporting

We are using **BigQuery** data to get you non-last click (first click, last ad click, last marketing click, assisted) attribution models.&#x20;

We use BigQuery to get attribution information because this data is not made available in the GA4 API the same way that it was made available in the Universal Analytics API.
