Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Connect to Google Analytics Data in DBArtisan
Use wizards in DBArtisan to configure Google Analytics data as a data source.
The CData ODBC Driver for Google Analytics seamlessly integrates Google Analytics data into database management tools like DBArtisan by enabling you to access Google Analytics data as a database. This article shows how to create an data source for Google Analytics in DBArtisan and execute queries. You can then edit data visually and execute standard SQL.
Integrate Google Analytics Data into DBArtisan Projects
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
Google uses the OAuth authentication standard. To access Google APIs on behalf on individual users, you can use the embedded credentials or you can register your own OAuth app.
OAuth also enables you to use a service account to connect on behalf of users in a Google Apps domain. To authenticate with a service account, you will need to register an application to obtain the OAuth JWT values.
In addition to the OAuth values, set Profile to the profile you want to connect to. This can be set to either the Id or website URL for the Profile. If not specified, the first Profile returned will be used.
You can then follow the steps below to register Google Analytics data as a database instance in your project:
- In DBArtisan, click Data Source -> Register Datasource.
- Select Generic ODBC.
- Enter a name for the data source and select the DSN.
- Finish the wizard to connect to Google Analytics data. Google Analytics entities are displayed in the Datasource Explorer.
You can now work with Google Analytics data as you work with any other database. See the driver help documentation for more information on the queries supported by the Google Analytics API.