Ready to get started?

Download a free trial of the Google Analytics ODBC Driver to get started:

 Download Now

Learn more:

Google Analytics Icon Google Analytics ODBC Driver

The Google Analytics ODBC Driver is a powerful tool that allows you to connect with live data from Google Analytics, directly from any applications that support ODBC connectivity.

Access Google Analytics data like you would a database - access all kinds of real-time site traffic and analysis data through a standard ODBC Driver interface.

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:

  1. In DBArtisan, click Data Source -> Register Datasource.
  2. Select Generic ODBC.
  3. Enter a name for the data source and select the DSN.
  4. 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.