Google Analytics增强的Adobe DTM电子商务 [英] Google Analytics Enhanced Ecommerce in Adobe DTM

查看:212
本文介绍了Google Analytics增强的Adobe DTM电子商务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Google UA的DTM实施中是否还支持电子商务?我没有办法告诉它加载电子商务库,更不用说在您的规则中包含电子商务相关标签的方法。像GUA一样,规则中甚至没有自定义页面代码选项,因此不知道如何手动添加它们。我错过了明显的东西吗?或者是否有在DTM中进行电子商务标记的解决方法?

解决方案

DTM不像其他标签管理系统那样支持电子商务跟踪(例如TealiumIQ)。
$ b

要包含电子商务或高级电子商务库,您必须在GA工具pageCode中设置需求。例如:

  ga('dtm_ga_standard.require','ec'); 

要使用它,您必须在正确的pageLoad规则中创建自定义第三方标记,以便设置高级电子商务追踪,例如:

  ga('dtm_ga_standard.ec:setAction','purchase',{
id :s_orderid,
从属关系:s_orderid,
收入:order_total,
税:'0',
运费:pageViewData.shipment_cost,
优惠券:''
});
ga('dtm_ga_standard.send','pageview');

确保在工具自定义页面代码中使用commend阻止标准页面视图:

 返回false 

当电子商务页面加载规则正在运行时。



克劳迪奥。


Is there even support for Ecommerce in the DTM implementation of Google UA? I'm not seeing a way to tell it to load the ecommerce library, let alone a way to include ecommerce related tags in your rules. There isn't even a "custom page code" option on the Rules with GUA like I have with Site Catalyst so not sure how to even add them manually. Am I missing something obvious? Or is there a work-around to doing the ecommerce tagging in DTM?

解决方案

DTM do not support ecommerce tracking nativly as other Tag Management System do (TealiumIQ for example).

To include ecommerce or advanced ecommerce library you have to setup the require in the GA tool pageCode. Something like:

ga('dtm_ga_standard.require', 'ec');

To use it you have to create custom third party tag in the correct pageLoad rule in order to setup advanced ecommerce tracking, something like:

ga('dtm_ga_standard.ec:setAction', 'purchase', {
      id: s_orderid,
      affiliation: s_orderid,
      revenue: order_total,
      tax: '0',
      shipping: pageViewData.shipment_cost,
      coupon: ''
    });
ga('dtm_ga_standard.send', 'pageview');

Be sure to prevent in the tool custom page code the standard page view using the commend:

return false

When the ecommerce page load rule is running.

Claudio.

这篇关于Google Analytics增强的Adobe DTM电子商务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆