[英]Google Analytics Data API (GA4) - item.variant dimension?
So, ga4-ecommerce has the property "variant" for it's items: (see https://developers.google.com/tag-manager/ecommerce-ga4 )因此,ga4-ecommerce 的项目具有“变体”属性:(请参阅https://developers.google.com/tag-manager/ecommerce-ga4 )
dataLayer.push({
event: "view_item_list",
ecommerce: {
items: [
{
item_name: "Triblend Android T-Shirt", // Name or ID is required.
item_id: "12345",
price: 15.25,
item_brand: "Google",
item_category: "Apparel",
item_category2: "Mens",
item_category3: "Shirts",
item_category4: "Tshirts",
item_variant: "Gray",
item_list_name: "Search Results",
item_list_id: "SR123",
index: 1,
quantity: 1
},
});
But somehow I don't seem to find the dimension for item.variant.但不知何故,我似乎没有找到 item.variant 的维度。 Pretty much every other prop is represented by its own dimension in the API-Schema: https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions
几乎所有其他道具在 API 架构中都由其自己的维度表示: https : //developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions
Is this by design and I can somehow retrieve aggregated metrics based on variant?这是设计使然吗,我可以以某种方式检索基于变体的聚合指标?
fe I want to retrieve aggregated data to see how much itemViews (metric) each itemVariant (the dimension I'm missing?) generated. fe 我想检索聚合数据以查看每个 itemVariant(我缺少的维度?)生成了多少 itemViews(指标)。
There is not a way to retrieve the itemVariant
dimension in the GA4 Data API.在 GA4 数据 API 中没有检索
itemVariant
维度的方法。 The dimensions from the item array are prefixed with the string item
in the API Dimensions & Metrics list . item 数组中的维度以API Dimensions & Metrics 列表中的字符串
item
为前缀。
The GA4 Data API presents most of the dimensions available in the GA4 UI; GA4 数据 API 提供了 GA4 UI 中可用的大部分维度; an
Item Variant
dimension is also not available in the GA4 UI. Item Variant
维度在 GA4 用户界面中也不可用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.