Learn business growth with Google Analytics 4 Forums Google Analytics 4 Google Analytics API: Request Error – Incompatible Dimensions and Metrics Reply To: Google Analytics API: Request Error – Incompatible Dimensions and Metrics

  • Aiden

    Member
    23 October 2022 at 6:26 pm

    Sure, I think I know why you’re seeing this error. Google Analytics recently announced new compatibility rules for dimensions and metrics, particularly for dimensions that include a query string like ‘pagePathPlusQueryString’. It turns out that it’s only compatible with a limited set of dimensions and metrics now. You can find more details in their change log announcement from September 13, 2022 [here](https://developers.google.com/analytics/devguides/reporting/data/v1/changelog#2022-09-13_schema_compatibility_changes_announcement).

    The error is basically saying that your ‘customEvent:institution_id’ dimension isn’t compatible with ‘pagePathPlusQueryString’. These changes took effect earlier this week, which probably explains why you only started seeing the error recently. Hopefully, this helps clear up the confusion!