Sample

 

https://connectors.windsor.ai/googleanalytics4?api_key=[your API key]&date_preset=last_7d&fields=source,medium,campaign,transactionrevenue&_renderer=csv


Fields

IDTypeNameDescription
campaignTEXTCampaign (alias for Campaign name)The name of the marketing campaign. Present only for conversion events.
campaignnameTEXTCampaign nameThe name of the marketing campaign. Present only for conversion events.
conversionsNUMERICConversionsThe count of conversion events.
dateDATEDateThe date of the event, formatted as YYYYMMDD.
mediumTEXTMediumThe medium attributed to the conversion event.
sessionsNUMERICSessionsThe number of sessions that began on your site or app (event triggered: session_start).
sourceTEXTSourceThe source attributed to the conversion event.
totalrevenueNUMERICTotal revenueThe sum of revenue from purchases, subscriptions, and advertising (Purchase revenue plus Subscription revenue plus Ad revenue).
totalusersNUMERICTotal usersThe number of distinct users who have logged at least one event, regardless of whether the site or app was in use when that event was logged.
transactionidTEXTTransaction IDThe ID of the ecommerce transaction.
transactionrevenueNUMERICTransaction revenue (alias for Total revenue)The sum of revenue from purchases, subscriptions, and advertising (Purchase revenue plus Subscription revenue plus Ad revenue).
transactionsNUMERICTransactionsThe count of transaction events with purchase revenue. Transaction events are in_app_purchase, ecommerce_purchase, purchase, app_store_subscription_renew, app_store_subscription_convert, and refund.