Omniture JS 跟踪中的 debugTracking 有什么用?
What's debugTracking for in Omniture JS tracking?
我们即将开始使用 Omniture,并且已经提供了一些 JS。它有这一行:
s.debugTracking = true;
文档中没有太多关于这是什么的内容。谁能启发我?您是否希望在生产中将其设置为 false?是否有必要让像 Omnibug 这样的插件工作?
我在 Adobe 的文档中找到了这些参考资料,none 其中真正解释了它的用途:
https://marketing.adobe.com/resources/help/en_US/sc/appmeasurement/video/video_flash_test.html
/* Turn on and configure debugging here */
s.debugTracking = true;
Added debugTracking flag to enable logging of requests send to Firebug console just like the other platforms.
https://marketing.adobe.com/resources/help/en_US/sc/appmeasurement/video/video_flash_sample.html
/* Turn on and configure debugging here - turn this off for production deployment */
s.debugTracking = true;
看起来将其设置为 true 会导致大量相关信息自动发送到控制台,在标记为 AppMeasurement Debug
的部分中。从跟踪域开始,当前 URL 和正在记录的数据的键值对。
考虑到 Omnibug 和其他插件无论如何都可以让我们看到这些东西,我们可以删除 s.debugTracking
行。
debugTracking
本质上只是发送一个 console.log
请求调用并分解所有参数。它不需要像 Omnibug 或 DigitalPulse 调试器这样的工具来工作。
它可以被删除,或设置为 false 以禁用它。
我们即将开始使用 Omniture,并且已经提供了一些 JS。它有这一行:
s.debugTracking = true;
文档中没有太多关于这是什么的内容。谁能启发我?您是否希望在生产中将其设置为 false?是否有必要让像 Omnibug 这样的插件工作?
我在 Adobe 的文档中找到了这些参考资料,none 其中真正解释了它的用途:
https://marketing.adobe.com/resources/help/en_US/sc/appmeasurement/video/video_flash_test.html
/* Turn on and configure debugging here */
s.debugTracking = true;
Added debugTracking flag to enable logging of requests send to Firebug console just like the other platforms.
https://marketing.adobe.com/resources/help/en_US/sc/appmeasurement/video/video_flash_sample.html
/* Turn on and configure debugging here - turn this off for production deployment */
s.debugTracking = true;
看起来将其设置为 true 会导致大量相关信息自动发送到控制台,在标记为 AppMeasurement Debug
的部分中。从跟踪域开始,当前 URL 和正在记录的数据的键值对。
考虑到 Omnibug 和其他插件无论如何都可以让我们看到这些东西,我们可以删除 s.debugTracking
行。
debugTracking
本质上只是发送一个 console.log
请求调用并分解所有参数。它不需要像 Omnibug 或 DigitalPulse 调试器这样的工具来工作。
它可以被删除,或设置为 false 以禁用它。