googleanalytics / ga-dev-tools

A showcase of demos and tools built with the various Google Analytics APIs and Libraries.
https://ga-dev-tools.web.app/
Other
1.38k stars 550 forks source link

Query Explorer does only shows data for last 14 months #1915

Open sabetiv opened 3 weeks ago

sabetiv commented 3 weeks ago

What page is this happening on https://ga-dev-tools.google/query-explorer/ for ua queries.

Describe the bug When I select specific dimensions like ga:pageTitle or specific metrics like ga:uniquePageviews in specific Google Analytics queries, I only get data from the last 14 months even if I set the start date to an earlier date. This also happens using tools that use the API.

To Reproduce

  1. Goto the Google Analytics Query Explorer UA
  2. login and select an UA account id that has analytics data earlier than last 14 months.
  3. Use the following query settings: metrics set to ga:pageviews, dimensions set to ga:pageTitle, ga:pagePath, and ga:date.
  4. Run the query
  5. Results are only from last 14 months and do not go back any further. If I remove the ga:pageTitle from dimensions, then I get data from the start of the analytics account which go back further than 14 months.

Expected behavior To have the query return data for the full start and end time and not clipped to only last 14 months.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.