enableEcommerce:增强型电子商务是否为false?

奥马尔·冈萨雷斯

我需要知道为什么我的购买交易没有存储在Google Analytics(分析)中,Google跟踪代码管理器的预览显示我将enableEcommerce设置为false,但是正如您所看到的,我已在Google Analytics(分析)中将此设置为ON。

在遵循了文档之后,我仅在“谢谢”页面中拥有此dataLayer:

在此处输入图片说明

如你看到的:

1)我正在生成产品Array,
2)标签已正确触发。
3)enableEcommerce:false

第3点对我来说还不清楚,因为我启用了电子商务:

在此处输入图片说明

enableEcommerce:错误

在此处输入图片说明

更新1

基于kgrr的答案,这是我当前的设置。

事件引发

在此处输入图片说明

dataLayer: _

在此处输入图片说明

dataLayer(第一个字段名称)

在此处输入图片说明

Google Analytics TAG Variable

在此处输入图片说明

UPDATE 2

在此处输入图片说明

Not as conversion:

在此处输入图片说明

kgrg

Based on all the details, you have shared, there a few errors, that you should fix, to get your purchase tracking working.

Your tracking ID is incorrect. You can provide a tracking ID either by adding it directly as a Tracking ID, or adding it as part of a Google Analytics Setting variable. (Where it will be provided similarly as Tracking ID). At the moment, you pass your Google Analytcs Settings variable into the tracking ID field. As you have already prepared this type of variable, I suggest to use it in its proper place, but remove tracking ID provided from the Google Analytics tag. The only setting to be overwritten, is the enhanced ecommerce setting. (As it seems from the images.)

Your purchase object is not following the enhanced ecommerce format. Based on the documentation, the products array is part of the purchase object. At the moment, they are siblings in your code, so GTM won't be able to process, and append it to the event.

Your product objects are not following the enhanced ecommerce format. At the moment, you are not using the proper keys in your product objects, so GTM won't be able to pass this data to Google Analytics. This is a general reference about the product data, and this is a working example, how various attributes are passed to GTM. You should fix the key-value pairs to match the format requested by GTM.

更新:另外,您还必须确保在Universal Analytics代码或Google Analytics(分析)设置变量中启用了增强型电子商务功能。如果未启用,则GTM会忽略此数据。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

GTM增强型电子商务购买活动

增强型电子商务跟踪记录重复计数

增强型电子商务:我是否推送关于过滤产品的新印象列表?

电子商务与Google Analytics(分析)的增强型电子商务的区别

Google跟踪代码管理器多个增强型电子商务活动

GA增强型电子商务会话在重定向后迷路了

将旧版SQL转换为标准SQL-增强型电子商务

如何处理Analytics(分析)增强型电子商务产品的流通量

Google 标签管理器未记录增强型电子商务的交易

跟踪商品目录的展示次数-增强型电子商务Google Analytics(分析)

在GTM增强型电子商务中实施CPA会员购买

GA增强型电子商务中checkout_option的几个选项

GTM-以变量/宏形式返回增强型电子商务对象

使用GTM的增强型电子商务,但不包含页内数据

使用 curl 和增强型电子商务跟踪采购服务器端

增强型电子商务无法识别内部促销视图对象

Analytics(分析)增强型电子商务-发送产品展示

Google跟踪代码管理器-增强型电子商务和Ajax

GA增强型电子商务:将字符串值用作“步骤”字段,而不是数字值

Google Analytics(分析)增强型电子商务有效载荷在结帐时过大

在设置了dataLayer并且运行了GTM.js脚本之后,推送到增强型电子商务

如何指定产品从哪个“列表”添加到购物车?增强型电子商务

Google Analytics(分析)增强型电子商务-使用“事件”而非“综合浏览量”跟踪产品视图

Google跟踪代码管理器增强型电子商务购买操作会再次收集产品吗?

使用跟踪代码管理器无法在Analytics(分析)中显示增强型电子商务数据

使用Google增强型电子商务时,从购物车中添加/删除数量值应该代表什么?

增强的电子商务转化问题

增强的电子商务数据层WooCommerce

Google Analytics 增强型电子商务(通用分析):添加到购物车的产品的详细信息不会与添加到购物车事件一起发送