Google Analytics 4
Google Analytics 4 is an analytics service that enables you to measure traffic and engagement across your websites and apps. You can use Google Analytics 4 custom reports as a data source when landing or replicating data.
-
Для получения дополнительной информации о подключении к приложениям SaaS см. раздел Подключение к приложениям SaaS.
-
Для получения дополнительной информации о коннекторах Lite см. Классификации коннекторов.
-
В зависимости от конкретного случая может потребоваться установить Шлюз движения данных для переноса данных из приложений SaaS. Для получения дополнительной информации см. раздел Когда требуется Шлюз движения данных?.
Preparing for authentication
To access your Google Analytics 4 custom reports, you need to authenticate the connection with your account credentials.
-
Go to https://console.cloud.google.com/apis/library/analytics.googleapis.com and click Enable.
-
Go to https://console.developers.google.com/apis/api/analyticsdata.googleapis.com/overview and click Enable.
-
Go to https://console.developers.google.com/apis/api/analyticsreporting.googleapis.com/overview and click Enable.
-
Click Credentials.
-
Click Create credentials.
-
Click OAuth client ID, and select Web application.
-
Add https://connector.qlik.com/auth/oauth/v3.htm as an Authorized redirect URI.
-
Click Create.
You can now see Client ID and Client Secret that you need to copy to the connection settings.
Custom reports
You can use up to ten Google Analytics 4 custom reports.
-
Go to https://ga-dev-tools.web.app/query-explorer, and make sure it is set to GA4.
-
Select your metrics and dimensions.
-
Click the copy icon next to Request JSON at the bottom of the page to copy the value.
Примечание к предупреждениюDo not try to copy any other way than using the copy icon. -
Paste the copied text to a custom report field in the connection.
Creating the connection
Для получения дополнительной информации см. раздел Подключение к приложениям SaaS.
-
Щелкните Проверить подлинность, когда будут настроены необходимые параметры подключения.
Может появиться запрос на вход в исходное приложение.
Открывается окно с кодом для проверки подлинности.
-
Скопируйте код в буфер обмена и вернитесь в диалоговое окно подключения.
-
Вставьте код в поле Завершите проверку подлинности с помощью кода, предоставленного источником и нажмите кнопку Проверить.
Примечание к подсказкеМожет потребоваться прокрутить вниз, чтобы увидеть это поле.Когда статус Проверено, аутентификация подтверждена.
-
Заполните поле Имя подключения.
-
Установите флажок Открыть метаданные подключения, чтобы определить метаданные для подключения, когда оно будет создано.
| Setting | Description |
|---|---|
| Data gateway |
Выберите шлюз Шлюз движения данных, если этого требует текущий сценарий использования. Примечание к информации
Это поле недоступно при использовании подписки Qlik Talend Cloud Starter, так как она не поддерживает Шлюз движения данных. Если используется другой уровень подписки или не требуется использовать Шлюз движения данных, выберите Нет. Для получения информации о преимуществах Шлюз движения данных и о сценариях, требующих его использования, см. раздел Шлюз данных Qlik — движение данных. |
| Client ID | Client ID for Google Analytics GA4 OAuth authentication. |
| Client Secret |
Client secret for Google Analytics GA4 OAuth authentication. |
| Custom Report One |
Custom report JSON. For more information, see Custom reports. |
| Custom Report Two |
Custom report JSON. For more information, see Custom reports. |
| Custom Report Three |
Custom report JSON. For more information, see Custom reports. |
| Custom Report Four |
Custom report JSON. For more information, see Custom reports. |
| Custom Report Five |
Custom report JSON. For more information, see Custom reports. |
| Custom Report Six |
Custom report JSON. For more information, see Custom reports. |
| Custom Report Seven |
Custom report JSON. For more information, see Custom reports. |
| Custom Report Eight |
Custom report JSON. For more information, see Custom reports. |
| Custom Report Nine |
Custom report JSON. For more information, see Custom reports. |
| Custom Report Ten |
Custom report JSON. For more information, see Custom reports. |
| Start Date |
Start date in the format Example: 2020-10-01 Примечание к информацииStart and end dates from the report are not used.
|
| Property ID |
Google Analytics 4 property identifier. For more information, see https://developers.google.com/analytics/devguides/reporting/data/v1/property-id. |