Google Analytics
Version 24.3.9120
Version 24.3.9120
Google Analytics
You can use the Google Analytics connector from the CData Sync application to capture data from Google Analytics and move it to any supported destination. To do so, you need to add the connector, authenticate to the connector, and complete your connection.
Add the Google Analytics Connector
To enable Sync to use data from Google Analytics, you first must add the connector, as follows:
-
Open the Connections page of the Sync dashboard.
-
Click Add Connection to open the Select Connectors page.
-
Click the Sources tab and locate the Google Analytics row.
-
Click the Configure Connection icon at the end of that row to open the New Connection page. If the Configure Connection icon is not available, click the Download Connector icon to install the Google Analytics connector. For more information about installing new connectors, see Connections.
Authenticate to Google Analytics
After you add the connector, you need to set the required properties.
On the New Connection page, enter the connection name of your choice.
CData Sync supports authenticating to Google Analytics in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.
OAuth
CData Sync provides an embedded OAuth application with which to connect. To use the application, select OAuth for Auth Scheme. No additional properties are required.
OAuth JWT
To connect with a Google Analytics account, set the following properties:
-
OAuth Client Id - Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.
-
OAuth Client Secret - Enter the client secret that you were assigned when you registered your application with an OAuth authorization server.
-
OAuth JWT Cert – Enter your Java web tokens (JWT) certificate store.
-
OAuth JWT Cert Type – Enter the type of key store that contains your JWT Certificate. The default type is PEMKEY_BLOB.
-
OAuth JWT Issuer – Enter the issuer of your Java web token. Typically, the issuer is either the client Id or the email address of the OAuth application.
-
OAuth JWT Cert Password (optional) – Enter the password for your OAuth JWT certificate.
-
OAuth JWT Cert Subject (optional) – Enter the subject of your OAuth JWT certificate.
-
OAuth JWT Subject (optional) – Enter the user subject for which the application is requesting delegated access.
-
OAuth JWT Subject Type (optional) - Select the subject type (enterprise or user) for the JWT authentication. The default type is enterprise.
-
OAuth JWT Public Key Id (optional) – Enter the Id of the public key for JWT.
GCP Instance Account
When you run CData Sync on a GCP virtual machine, Sync can authenticate by using the service account that is tied to the virtual machine. Select GCPInstanceAccount for Auth Scheme to use that account. No additional properties are required.
Complete Your Connection
To complete your connection:
-
For Schema, select the type of schema that you want to use:
-
UniversalAnalytics - For this schema, specify the following properties:
-
Profile (optional) - Enter your Google Analytics profile (view).
-
Api Version - Select the API version that you want to use with Universal Analytics.
-
-
GoogleAnalytics4 (default) - This schema includes the Property Id property (optional). For Property Id, specify the property identifier (Id) that you want to use when you query report views in the version 4 schema.
-
-
Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)
-
If you authenticate with OAuth, click Connect to Google Analytics to connect to your Google Analytics account.
-
Click Create & Test to create your connection.
More Information
For more information about interactions between CData Sync and Google Analytics, see Google Analytics Connector for CData Sync.