CData Python Connector for Google Analytics

Build 23.0.8839

DemographicGenderReport

A predefined view that retrieves Demographics UserGender data.

Select

The connector uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the '=' operator.
  • UserGender supports the '=' operator.
  • Date supports the '=,>=,<=,<,>' operators.

For example, the following queries are processed server-side:

SELECT * FROM DemographicGenderReport WHERE PropertyId = 342020667
SELECT * FROM DemographicGenderReport WHERE UserGender = 'Female' 
SELECT * FROM DemographicGenderReport WHERE Date = '01/01/2022' 
SELECT * FROM DemographicGenderReport WHERE PropertyId = 342020667 AND Date = '01/01/2022' AND UserGender = 'Female'
SELECT * FROM DemographicGenderReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM DemographicGenderReport WHERE Date >= '01/01/2022'
SELECT * FROM DemographicGenderReport WHERE Date <= '01/01/2022'
SELECT * FROM DemographicGenderReport WHERE Date >  '01/01/2022'
SELECT * FROM DemographicGenderReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the connector.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
UserGender String True True User gender.
Date Date True True The date of the session formatted as YYYYMMDD.
Conversions Integer False True The count of conversion events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than ten seconds, had a conversion event, or had two or more screen views.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String The Property Id value to be used when querying this table.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839