-
How to retrieve the currency used in a transaction from Google Analytics Data API
Hey, I’m moving over to GA4 ’cause UA is shutting down soon. We seriously depend on downloading our report data. Ideally, I wanna grab the
transactionId
andcurrency
of a conversion. Seems like I can fetch thetransactionId
, but what’s up withcurrency
? It doesn’t appear to be a possible dimension. Maybe I’m missing something.Check this out: [API Dimensions & Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema)
But, I can use any dimensions and metrics from this other page in the “Explorations” area and it seems like the currency for the transaction is listed under Ecommerce.
Link: [[GA4] Analytics dimensions and metrics](https://support.google.com/analytics/answer/9143382)
Got any ideas on how I can grab the currency from a sale?
And will the old APIs still work after July 1st? I’m not sure we can handle our data without them.
Log in to reply.