-
What could be causing the absence of the price dimension on my scatterplot in Google Analytics 4 Explorer – Custom Dimension or data type issue?
Hey there! I really could use a bit of help with something I’ve run into during work. I noticed that I couldn’t use the “Explore” feature for a scatterplot in a client’s GA4 Explorer. The thing is, I was trying to draw a simple scatterplot:
view_item
on the X-axis,price
on the Y-axis, and each point represented byitem_name
. The aim was to check for any relationship between the price and the items viewed. However, once the report gets constructed, the price dimension just shows as (not set).So, here’s what I’m suspecting might be the cause:
-
Could it be that someone created a Custom Dimension named “price”? It’s the same name and spelt the same way as the price parameter within the items. Just wondering if it could be overwriting the ecommerce data.
-
Or maybe, could it be because the price value sent with the ecommerce.view_item data layer is not in string format, but as a number?
Here is the current structure of the
dataLayer.push()
command for theview_item
event:{ "pageName": "xxx", "pageType": "product", "ecommerce": { "items": [ { "item_name": "xxx", "price": 39992, "item_brand": "xxx", "item_category": "xxx", "item_category_2": "xxx", "currency": "USD", "item_stock_status": "In stock", "item_sale_product": "No", "item_reviews_count": "0", "item_reviews_score": "0", "plugin": "plugin" } ] }, "event": "view_item" }
Does this ring a bell? Or would you need more information?
I’ve tried to get around it by archiving the custom dimension that was created, and now just waiting for the data to come in. But in the meantime, I’m looking for insights on why this could be happening. Any thoughts?
-
Log in to reply.