首页 > 解决方案 > GA4 跟踪总收入

问题描述

我正在尝试使用新的 GA4 跟踪收入,但我很难理解如何。 显示图片

有人可以帮忙吗?谢谢!

标签: google-analyticsgoogle-analytics-4

解决方案


标记中的“值”参数填充报告中的“收入”指标。例如,如果您从本示例上传购买事件 ( https://developers.google.com/analytics/devguides/collection/ga4/ecommerce#purchase ):

gtag('event', 'purchase', {
  affiliation: 'Google Store',
  coupon: 'SUMMER_FUN',
  currency: 'USD',
  items: [{
    item_id: 'SKU_12345',
    item_name: 'jeggings',
    coupon: 'SUMMER_FUN',
    discount: 2.22,
    affiliation: 'Google Store',
    item_brand: 'Gucci',
    item_category: 'pants',
    item_variant: 'black',
    price: 9.99,
    currency: 'USD',
    quantity: 1
  }, {
    item_id: 'SKU_12346',
    item_name: 'jeggings',
    coupon: 'SUMMER_FUN',
    discount: 2.22,
    affiliation: 'Google Store',
    item_brand: 'Gucci',
    item_category: 'pants',
    item_variant: 'gray',
    price: 9.99,
    currency: 'USD',
    quantity: 1
  }],
  transaction_id: 'T_12345',
  shipping: 3.33,
  value: 21.09,
  tax: 2.22
})

然后,GA4 将显示 21.09 美元的总收入。

首页总收入

在货币化概览报告中,GA4 将显示这 21.09 美元专门归类为电子商务收入。

获利概览


推荐阅读