Accéder au contenu principal Passer au contenu complémentaire

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.

  • Pour plus d'informations sur la connexion aux applications SaaS, consultez Connexion à des applications SaaS.

  • Passerelle de données - Déplacement des données doit être installé pour que vous puissiez déposer temporairement ou répliquer des données provenant d'applications SaaS. Pour plus d'informations, consultez Qlik Data Gateway - Data Movement.

Supported update methods

For more information, see Modifier le traitement.

  • Reload and compare

  • Full load

  • Reload

Preparing for authentication

To access your Google Analytics 4 custom reports, you need to authenticate the connection with your account credentials.

  1. Go to https://console.cloud.google.com/apis/library/analytics.googleapis.com and click Enable.

  2. Go to https://console.developers.google.com/apis/api/analyticsdata.googleapis.com/overview and click Enable.

  3. Go to https://console.developers.google.com/apis/api/analyticsreporting.googleapis.com/overview and click Enable.

  4. Click Credentials.

  5. Click Create credentials.

  6. Click OAuth client ID, and select Web application.

  7. Add https://connector.qlik.com/auth/oauth/v3.htm as an Authorized redirect URI.

  8. Click Create.

You can now see Client ID and Client Secret that you need to copy to the connection settings.

Note InformationsAssurez-vous que le compte que vous utilisez dispose d'un accès en lecture sur les tables à récupérer.

Custom reports

You can use up to ten Google Analytics 4 custom reports.

  1. Go to https://ga-dev-tools.web.app/query-explorer, and make sure it is set to GA4.

  2. Select your metrics and dimensions.

  3. Click the copy icon next to Request JSON at the bottom of the page to copy the value.

    Note AvertissementDo not try to copy any other way than using the copy icon.
  4. Paste the copied text to a custom report field in the connection.

Note Informations Start and end dates from the report are not used. Instead, the Start Date set in the connection is used.

Creating the connection

  1. Cliquez sur Authentifier une fois que vous avez rempli les paramètres de connexion requis.

    Il se peut qu'il vous soit demandé de vous connecter à l'application source.

    Une fenêtre apparaît avec un code d'authentification.

  2. Copiez le code dans le Presse-papiers et revenez à la boîte de dialogue de connexion.

  3. Collez le code dans Terminer l'authentification à l'aide du code fourni par la source et cliquez sur Vérifier.

    Note ConseilPour voir ce champ, vous devrez peut-être faire défiler l'écran vers le bas.

    Une fois que le statut est Vérifié, l'authentification est vérifiée.

  4. Fournissez un nom pour la connexion dans Nom de la connexion.

  5. Sélectionnez Ouvrir les métadonnées de connexion pour définir les métadonnées de la connexion lors de sa création.

Connection settings
Setting Description
Data gateway

Sélectionnez une Data Movement gateway à utiliser lors de la réplication de données.

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 YYYY-MM-DD.

Example: 2020-10-01

Note InformationsStart 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.

Cette page vous a-t-elle aidé ?

Si vous rencontrez des problèmes sur cette page ou dans son contenu – une faute de frappe, une étape manquante ou une erreur technique – dites-nous comment nous améliorer !