Your Google Analytics 4 (GA4) and Looker Studio reports were working fine and now they are all broken. Even though you haven't made any changes.
You are getting an error like:
Invalid combination of metrics and dimensions
If that's causing you to lose your mind then you are not alone.
This issue has been reported by GA4 users across the globe.
Don't worry. You haven't done anything wrong.
It is not you. It is Google.
If you use a dimension like Item ID, Item Name etc. along with metrics such as revenue etc. then your reports will show errors.
Google has introduced Item Scope dimensions so now Item ID, Item Name etc. are item scoped while Revenue, Add to Carts etc. are event scope metrics.
You can't combine different scope dimensions and metrics and hence you are now getting an error.
So what's the fix.
The fix is to change the dimensions and metrics of the right scope. Google has introduced Item scope metrics and dimesions to replace event scoped metrics and dimensions though as of writing of this post they are not available in every account. Which measn you will have to wait till Google rolls out these dimensions and metrics in all the accounts.
New ecommerce dimensions and metrics
Google Analytics provides an item-scoped and event-scoped version of each ecommerce metric.
This allows you to analyze information about your products or services and separately analyze important ecommerce interactions.
The following ecommerce dimensions and metrics are available in Explorations and the Data API:
- Item affiliation
- Item variant
- Items added to cart
- Items checked out
- Items clicked in list
- Items clicked in promotion
- Items viewed
- Items viewed in list
- Items viewed in promotion
- Shipping amount
- Shipping tier
- Tax amount
Analytics also renames the following metrics:
- Add to carts (previously called Add-to-carts)
- Item-list click events (previously called Item list clicks)
- Item-list view events (previously called Item list views)
- Item view events (previously called Item views)
- Items purchased (previously called Item purchase quantity)
- Promotion clicks (previously called Item promotion clicks)
- Promotion views (previously called Item promotion views)
Note from Google Analytics: When you use an item-scoped dimension in an exploration, such as "Item ID" or "Item category", be sure to use item-scoped metrics such as “Items purchased” rather than event-scoped metrics, such as “Purchases”. The former will give you the count of items. The latter will give you a count of purchase events.
Need Help with GA4?
Contact us at firstname.lastname@example.org