I'd like to extract a the name of the city of a visitor and preferably also the geolocation (latitude + longitude) of those visitors.

Is this possible via the Google Analytics API and if so, how?

1 Answer 1


Please see the google reference documents for more information.

A useful tool to build a query for what you require can be located here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.