本文介绍了Google跟踪代码管理器错误:“未检测到HTTP响应"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已成功使用我的GTM帐户([email protected])将Google Dynamic Re Marketing标记添加到我的网站中;在Google Tag Assistant中也显示了次要警告.但是,当我以后使用相同的设置切换到另一个GTM帐户([email protected])时,它显示了一个错误:未检测到HTTP响应".当两个GTM帐户具有相同的数据时,怎么办?任何帮助表示赞赏.

I have added the Google Dynamic Re Marketing Tag to my website by use of my GTM account ([email protected]) successfully; it was shown with minor warnings in Google Tag Assistant as well. But, when I later switched to another GTM account ([email protected]) with the same settings it shows an error: "No HTTP response detected". How this can happen when both the GTM accounts have the same data ? Any help appreciated.

谢谢!

推荐答案

这显然意味着代码没有被执行,可能是语法错误,还是额外的参数...等等.在我的情况下,我将交易作为电子商务的一部分发送,(参考: https://developers.google.com/analytics/devguides /collection/analyticsjs/enhanced-ecommerce )

This means clearly the code is not getting executed, could be syntax error, or extra parameters...etc. In my scenario I was sending transaction as part of Ecommerce,(ref : https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce )

ga('require','ec','commerce.js'); ///未检测到HTTP响应..错误.
ga('require','ec'); ///解决了问题

ga('require', 'ec', 'commerce.js'); ///HTTP RESPONSE NOT DETECTED..error.
ga('require', 'ec'); ///SOLVED THE ISSUE

因此,出于类似的原因,请检查语法!

so on similar grounds, check the syntax!

这篇关于Google跟踪代码管理器错误:“未检测到HTTP响应"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 15:00