Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript amznAnalytics使用AWS自定义转换/签出分析_Javascript_Amazon Web Services_Amazon - Fatal编程技术网

Javascript amznAnalytics使用AWS自定义转换/签出分析

Javascript amznAnalytics使用AWS自定义转换/签出分析,javascript,amazon-web-services,amazon,Javascript,Amazon Web Services,Amazon,在Amazon Web服务中使用amznAnalytics的文档几乎没有 我正在尝试在“谢谢”页面上实现以下转换: 变量| caq=| caq |[]; var乘积=[]; products.push({Sku:'ProductID',单价:'item price here',数量:'Quantity here'}); products.push({Sku:'ProductID',单价:'item price here',数量:'Quantity here'}); _caq.push([“订单

在Amazon Web服务中使用amznAnalytics的文档几乎没有

我正在尝试在“谢谢”页面上实现以下转换:


变量| caq=| caq |[];
var乘积=[];
products.push({Sku:'ProductID',单价:'item price here',数量:'Quantity here'});
products.push({Sku:'ProductID',单价:'item price here',数量:'Quantity here'});
_caq.push([“订单”,{OrderId:'OrderId',Revenue:'oVal',CurrencyCode:'3个字母的货币代码在这里',Products:Products}]);
我有一个简短的谷歌分析脚本,我一直在借用它,它利用了一些字段,但是我真的可以引用所有可用的变量。有人能把我引向正确的方向吗?多谢各位

<script type="text/javascript"> 
var _caq = _caq || []; 
var products = []; 
products.push({Sku: 'ProductID', UnitPrice: 'item price here', Quantity: 'quantity here'}); 
products.push({Sku: 'ProductID', UnitPrice: 'item price here', Quantity: 'quantity here'}); 
_caq.push(["Order", {OrderId: 'OrderID', Revenue: 'oVal', CurrencyCode: '3 letter currency code here', Products: products}]); 
</script>