Skip to content Skip to sidebar Skip to footer

Using And Querying Custom Dimensions In Google Analytics Api

I am attempting to query my Analytics (Universal) to receive a list of metrics sorted by a custom dimension. In July, the Google Analytics API blog announced: 'Developers can use

Solution 1:

You need to include a the dimension in the query. Such as 'dimension': 'ga:dimension1', then use your filter 'ga:dimension1==red'. The Query Explorer is very helpful for testing API requests.

Solution 2:

hey this is very helpful. thanks so much for the answer. Let me also answer this question with an example: let so for a ga defined dimension, the syntax would look like - ga:landingPagePath=="what ever you want" now say there is a custom dimension called pagepath which is customdimension1 . Hence the syntax will be ga:dimension1=="what ever you want"

Post a Comment for "Using And Querying Custom Dimensions In Google Analytics Api"