Getting Started
Connecting to Google Analytics
Establishing a Connection shows how to authenticate to Google Analytics and configure any necessary connection properties in a JDBC URL. You can also configure driver capabilities through the available Connection properties, from data modeling to firewall traversal. The Advanced Settings section shows how to set up more advanced configurations and troubleshoot connection errors.
Connecting to JDBC Data Sources
The CData JDBC Driver for Google Analytics provides full support for integration into Java applications, including Eclipse, NetBeans, IntelliJ IDEA, and many other Integrated Development Environments, as well as J2EE applications running on a Java server such as Tomcat. You can find JSP, console, and swing demos in the installation folder.
Java Version Support
To deploy the driver JAR file, you must have Java Development Kit (JDK) 1.8 or higher installed on your system.Google Analytics Version Support
The driver supports Google Analytics 4 APIs. The driver provides a relational view of the Google Analytics profiles in your Google account or across your Google Apps domain. The driver includes tables that contain often-used dimensions and metrics as columns; additionally, you can customize the table schemas or write your own to combine any valid set of dimensions and metrics. The driver exposes the columns available through the Data API (Google Analytics 4) and the Admin API (Google Analytics 4). You must enable these APIs by creating a project in the Google Developers Console. See "Connecting to Google Analytics" for a guide to creating a project and authenticating to the APIs.See Also
-
Create Connection Objects
See Connecting from Code to create JDBC Connection objects. -
Query Data from Code
See Executing Statements and Using Prepared Statements to execute SQL statements to Google Analytics tables. -
Connect from Java-Based Tools
See Using from Tools shows how to connect to Google Analytics and query data from several popular database tools.