添加或更新用于支持购买明细报表的代码后,您可以使用 Google Tag Assistant 来验证该代码。
要使用 Google Tag Assistant,请在 Google Chrome 浏览器中访问 Chrome 网上应用店,并安装 Google Tag Assistant(详细了解如何使用 Google Tag Assistant)。
Tag Assistant 能够:
-
检查购买详情变量的语法。例如,如果您不小心为一个产品定义了两个 ID,或为某个字段指定了错误的数据类型,都会在 Tag Assistant 中看到错误。
-
提供此代码收集的数据的预览。
-
对每个代码中的其他变量进行检查