Google Analytics 4 (GA4) 电子商务 `view_item` 带有变体

huangapple go评论53阅读模式
英文:

Google Analytics 4 (GA4) ecommerce `view_item` with variants

问题

view_item应该在客户查看商品时使用。此事件需要包含currency(货币)、value(净价格)和items(商品数组)。value应包含产品的净价格。items是一个包含产品的数组。

我(我并不是唯一一个这样做的人)有许多带有变种的产品,比如一个手套有小号、中号和大号等变种。如何发送此事件呢?

选项1:
items数组中列出所有的变种。这会使value字段出现偏差,因为不同的变种可能具有不同的价格。

选项2:
为每个变种生成一个view_item事件。这似乎是最合理的方法,但文档中没有提到这是“正确”的操作。

选项3:
使用view_item_list事件。这也是有道理的(没有value字段),但问题在于您并不是在查看一个列表/分类,而是在查看一个具有不同变种的单个产品。文档未明确说明view_itemview_item_list事件之间的区别 - 它们是否都以相同的方式记录?

英文:

I'm moving over to GA4 and implementing all of the recommended ecommerce events and hit a question that I'm struggling to find the answer to.

view_item should be used when a customer views an item. This event expects currency, value and items. value should contain the NETT price of the product. items is an array of products.

I (and I'm not going to be on my own here) have a number of products with variants - so maybe a glove with a Small, Medium & Large variant. How do I send this event?

Option 1:
List all the variants in the items array. This is going to skew the value field because the variants may have different prices.

Option 2:
Generate a view_item event for each variant. This seems to make the most sense, but nowhere in the documentation does it mention this as being the "correct" action.

Option 3:
Use a view_item_list event. This makes sense (there is no value field) apart from the fact you're not viewing a list/category. We're viewing a single product with different variants. The documentation doesn't clarify the difference between a view_item and view_item_list event - do they both get recorded in the same way?

答案1

得分: 1

我来这里寻找相同的答案 Google Analytics 4 (GA4) 电子商务 `view_item` 带有变体 如果有帮助,我会选择选项2。我将"view_item_list"解释为产品列表页面或推荐块。我唯一担忧的是它可能会增加"父"产品的浏览量。

英文:

I came here looking for the same answer Google Analytics 4 (GA4) 电子商务 `view_item` 带有变体 If it helps, I'm going with Option 2. view_item_list I interpret as a product listing page or recommendations block. My only concern with that is it will inflate views for the "parent" product.

答案2

得分: 0

这可能对于GA4的能力来说有点太深入了。

在大多数情况下,人们查看产品而不是单独的变体。因此,只发送产品及其ID将是有意义的。

在结账事件中,涉及到变体。在GA4中,您可以添加item_variant属性来识别涉及的变体。在发送购物车数据时,每个项目将基于产品ID + 变体名称。

话虽如此,我还是在猜测,因为GA4目前还没有在这个级别上报告。

他们目前正在推出自定义项目维度,这意味着您可以制定自己的解决方案。

英文:

I think this is going a bit too deep for what GA4 is capable of.

In most cases, people view a product and not individual variants. So just sending the product and its id would make sense.

In the checkout events, variants are involved. In GA4 you can then add the item_variant property to identify which variant is involved. When sending cart data, individual items would be based on product id + variant name.

Saying that, I'm still guessing, as GA4 does not yet report at this level.

They are currently rolling out custom item dimensions, which means you can roll your own solution.

答案3

得分: 0

Option 1:列出项目数组中的所有变体。这将会使“值”字段产生偏差,因为变体可能具有不同的价格。

对我来说,Option 1 似乎是最全面的解决方案。我不知道“view_item”事件潜在地显示错误价格有多重要,因为它实际上不是一个真正的“电子商务”事件,因此没有什么价值可以报告,除了潜在的销售。但即使如此,您是否真的会受益于能够报告一系列价格?

对我来说,至少对我来说,重要的是能够看到产品被查看的次数,以及是否随后被加入购物车和购买。如果您不将产品变体添加到“view_item”事件中,这是不可能的——相反,您必须在 GA 外部将父产品的查看与子产品的转化连接起来。

这仍然存在一个问题,即如何在涉及到父产品和子产品的情况下,找到“view_item_list”事件的价值。

另外,对于 Option 2,如果每个“view_item”事件都被单独计算,那么如果您想要跨目录比较产品查看数量,可能会引起混淆。具有最多变体的产品将被扭曲,看起来像它拥有最多的查看次数。

英文:

> Option 1: List all the variants in the items array. This is going to
> skew the value field because the variants may have different prices.

Option 1 strikes me as the solution that would cover the most ground. I don't know how much it matters that the view_item event would potentially show the wrong price, as it's not really a proper "ecommerce" event and so there's no value to report outside of potential sales. (But even there, would you really benefit from being able to report on a range of prices?)

For my purposes at least, what's important is being able to see how many times a product was viewed, and whether it was subsequently added to cart and purchased. This isn't possible if you don't add the product variant to the view_item event—instead you'd have to stitch together parent product views with child product conversions outside of GA.

This still leaves the issue of how to find value in the view_item_list event in relation to view_item if one refers to the parent product and the other refers to the child product.

Also for Option 2, if each view_item event is counted individually, then that might cause confusion if you ever want to compare # of product views across your catalog. Whichever product has the most variants will be skewed to look like it has the most views.

huangapple
  • 本文由 发表于 2023年2月23日 20:43:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/75545013.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定