The connection option descriptions in this section are listed alphabetically by the GUI name that appears on the driver Setup dialog box. The connection string attribute name, along with its short name, is listed immediately underneath the GUI name in the option topics.

In most cases, the GUI name and the attribute name are the same; however, some exceptions exist. If you need to look up an option by its connection string attribute name, please refer to the following tables of connection string attribute names.

Also, a few connection string attributes, for example, Password, do not have equivalent options that appear on the GUI. They are in the list of descriptions by their attribute names.

Note: The driver does not support specifying values for the same connection option multiple times in a connection string or DSN. If a value is specified using the same attribute multiple times or using both long and short attributes, the connection may fail or the driver may not behave as intended.

The following tables provide a summary of supported connection options by functionality, including their attribute names, short names, and default values.

General options

The following table summarizes general connection options that can apply to all connections that use data sources.

Table 1. General options
Attribute (Short Name) Default
DataSourceName (dsn) No default value
Description (n/a) No default value
Hostname (host) https://analyticsdata.googleapis.com

OAuth 2.0 authentication options

The following table summarizes options used for OAuth 2.0 authentication.

Table 2. OAuth 2.0 authentication options
Attribute (Short Name) Default
AccessToken (atok) No default value
AuthenticationMethod (am) 24 (OAuth2)
AuthURI (o2au) https://accounts.google.com/o/oauth2/auth
ClientID (cid)

No default value

ClientSecret (clse)

No default value

Hostname (host) https://analyticsdata.googleapis.com
RedirectURI (o2ru)

No default value

RefreshToken (rtok) No default value
Scope (oas)

https://www.googleapis.com/auth/analytics.manage.users.readonly https://www.googleapis.com/auth/analytics.readonly https://www.googleapis.com/auth/analytics

TokenURI (o2tu) https://accounts.google.com/o/oauth2/token

Mapping options

The following table summarizes connection options involved in mapping the Google Analytics 4 data model to a SQL model.

Table 3. Mapping options
Attribute (Short Name) Default
AddTables (addt)

No default value

KeywordConflictSuffix (kcs) No default value
ShowInternalTables (sit)

0 (false)

SQL engine options

The following table lists the options used to configure the SQL engine.

Table 4. SQL engine options
Attribute (Short Name) Default
JVMArgs (jvma) For the 32-bit driver when the SQL Engine Mode is set to 2 (Direct):

-Xmx256m

For all other configurations:

-Xmx1024m

JVMClassPath (jvmcp) install_dir\java\lib\googleanalytics4.jar
JVMPath (jvmp) install_dir\jre\bin\java.exe
ServerPortNumber (spn)

32-bit driver: 19972

64-bit driver: 19971

ServerProxyHost (sph)

No default value

ServerProxyPassword (spw) No default value
ServerProxyPort (spp) No default value
ServerProxyUser (spu) No default value
SQLEngineMode (sem) For Windows:

0 (Auto)

For Linux:

The SQL engine runs in Direct mode by default.

SQLService (ss) No default value

Proxy server options

The following table summarizes proxy server connection options.

Table 5. Proxy server options
Attribute (Short Name) Default
ProxyHost (pxhn) No default value
ProxyPassword (pxpw)

No default value

ProxyPort (pxpt)

0 which means that the default value is determined by whether the value specified for the Proxy Host (ProxyHost) option is an HTTP or HTTPS URL.

For HTTP: 80

For HTTPS: 443

ProxyUser (pxun)

No default value

Web service options

The following table summarizes Web service connection options, including those related to timeouts.

Table 6. Web service options
Attribute (Short Name) Default
StmtCallLimit (scl) 0 (no limit)
StmtCallLimitBehavior (sclb) 1 (ErrorAlways)
WSRetryCount (wsrc)

5 (attempts)

WSTimeout (wst)

120 (seconds)

Additional options

The following table summarizes additional connection options.

Table 7. Additional options
Attribute (Short Name) Default
ApplicationUsingThreads (aut) 1 (True)
DebugRecord (dbgrecord)

No default value

DefaultQueryOptions (dqo) startDate=30daysAgo;endDate=yesterday;startMinutesAgo=29;endMinutesAgo=0
ExtendedOptions (xo) No default value
FetchSize (fs) 100 (rows)
InitializationString (is) No default value
LogConfigFile (lgcf) ddlogging.properties
ReportCodepageConversionErrors (rcce) 0 (Ignore Errors)
TransactionMode (tm)

0 (NoTransactions)

This section includes the following topics: