Google Search Console

The HTTP API supports querying Google Search Console data just like the internal analytics data. Google Search Console data isn’t available in Real-time API.

Note

You must configure the Google Search Console integration before any data from it will become available. This can be done in the Settings / Integrations application’s section.

Metrics

The table below lists metrics provided by Google Search Console integration.

Google Search Console Metrics
Metric Name Column ID Scopes Type
Clicks (search engine) search_engine_clicks Google Search Console int
Impressions (search engine) search_engine_impressions Google Search Console int
CTR (search engine) search_engine_ctr Google Search Console float
Average position (search engine) search_engine_average_position Google Search Console float

Dimensions

The table below lists dimensions provided by Google Search Console integration.

Note: “Database type” column presents the type of source column of the dimension (in case of enum - type of the ID, in case of dynamic dimensions - not applicable).

Google Search Console Dimensions
Dimension Name Column ID Scopes Type Database Type Nullable Notes
Source source event, product, session str_nocase string False  
Medium medium event, product, session str_nocase string False  
Source/Medium source_medium event, product, session str_nocase string False  
Channel referrer_type event, product, session [int, str] uint8 False referrer_type.json
Referrer URL referrer_url event, product, session str string False  
Device type device_type event, product, session [int, str] uint8 True device_type.json
Continent location_continent_iso_code event, product, session [str, str] string(2) True location_continent_iso_code.json
Country location_country_name event, product, session [str, str] string True ISO 3166-2 codes (e.g. “PL”)
Session entry URL session_entry_url event, product, session str string False  
Timestamp timestamp event, product, session date not applicable False by default in Raw data API
Search engine keyword search_engine_keyword Google Search Console str string False  
Website Name website_name event, product, session [str, str] not applicable False website UUID

Mixed Queries

It is possible to request both internal analytics and Google Search Console metrics in a single query (for example: “Sessions” and “Clicks (search engine)”), however only the common dimensions listed below may be used in such queries.

Note: “Database type” column presents the type of source column of the dimension (in case of enum - type of the ID, in case of dynamic dimensions - not applicable).

Common Dimensions
Dimension Name Column ID Scopes Type Database Type Nullable Notes
Source source event, product, session str_nocase string False  
Medium medium event, product, session str_nocase string False  
Source/Medium source_medium event, product, session str_nocase string False  
Channel referrer_type event, product, session [int, str] uint8 False referrer_type.json
Referrer URL referrer_url event, product, session str string False  
Device type device_type event, product, session [int, str] uint8 True device_type.json
Continent location_continent_iso_code event, product, session [str, str] string(2) True location_continent_iso_code.json
Country location_country_name event, product, session [str, str] string True ISO 3166-2 codes (e.g. “PL”)
Session entry URL session_entry_url event, product, session str string False  
Timestamp timestamp event, product, session date not applicable False by default in Raw data API
Website Name website_name event, product, session [str, str] not applicable False website UUID

Warning

Using dimensions that are not explicitly listed in the table above in such queries (either as query columns or as filters) will result in a Bad Request response.