以下是代码。 我将其包含在感谢页面中。
问题是什么?
##ITEM# - these are the replace codes and they are working just fine.
问题是什么?
<!-- GOOGLE ANALYTICS ECOMMERCE CONVERSION TRACKING -->
<!-- https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce -->
<script>
ga('require', 'ecommerce', 'ecommerce.js');
ga('ecommerce:addTransaction', {
'id': ##ORDER_ID#, // Transaction ID. Required.
'revenue': ##ORDER_PRICE#, // Grand Total.
'tax': ##ORDER_PRICE_TAX# // Tax.
});
ga('ecommerce:send');
</script>
<!-- END: GOOGLE ANALYTICS CONVERSION TRACKING -->