GTM - JS - 预期解析错误主表达式

时间:2017-09-05 16:20:44

标签: javascript gtm-database

我每次在GTM上都有错误:第10行出错,第32行:预期解析错误主表达式,在此代码中:

<img src="https://secure.adnxs.com/px?id=829787&seg=8170611&order_id='transactionId'_'quantity'&value='transactionTotal'&t=2&other='name'" width="1" height="1" />

<!-- Google Code for CPA Achat TFC Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 850998157;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "_JJWCL6c2HEQjefklQM";
var google_conversion_value = <myvalue>;
var google_conversion_currency = "EUR";
var google_remarketing_only = false;
/* ]]> */
</script>

感谢您的帮助!

1 个答案:

答案 0 :(得分:0)

您需要使用相关值替换以下行中的<myvalue>

var google_conversion_value = <myvalue>;

可以找到更多详细信息here