- 18 Φεβ 2016, 17:28
#3037
Καλησπέρα
Έχει καταφέρει κανείς να συμπλήρωση σωστά αυτά τα στοιχεια στο success ?
<!-- Send the Order data -->
<script>
sa('ecommerce', 'addOrder', JSON.stringify({
order_id: '123456', // Order ID. Required.
revenue: '4417.58', // Grand Total. Includes Tax and Shipping.
shipping: '5.45', // Total Shipping Cost.
tax: '1014.79' // Total Tax.
}));
</script>
<!-- Send the Item data for each item in the shopping cart -->
<script>
sa('ecommerce', 'addItem', JSON.stringify({
order_id: '123456', // Order ID. Required.
product_id: '111222', // Product ID. Required.
name: 'Apple IPhone 6 Plus (16GB) Space Gray EU', // Product Name. Required.
price: '654.90', // Price per Unit. Required.
quantity: '4' // Quantity of Items. Required.
}));
sa('ecommerce', 'addItem', JSON.stringify({
order_id: '123456',
product_id: '303404',
name: 'Motorola Nexus 6 (64GB) EU Light Gray',
price: '590.99',
quantity: '1'
}));
sa('ecommerce', 'addItem', JSON.stringify({
order_id: '123456',
product_id: '121234',
name: 'LG G4 (64GB) EU Leather',
price: '600.77',
quantity: '2'
}));
</script>
Έχει καταφέρει κανείς να συμπλήρωση σωστά αυτά τα στοιχεια στο success ?
<!-- Send the Order data -->
<script>
sa('ecommerce', 'addOrder', JSON.stringify({
order_id: '123456', // Order ID. Required.
revenue: '4417.58', // Grand Total. Includes Tax and Shipping.
shipping: '5.45', // Total Shipping Cost.
tax: '1014.79' // Total Tax.
}));
</script>
<!-- Send the Item data for each item in the shopping cart -->
<script>
sa('ecommerce', 'addItem', JSON.stringify({
order_id: '123456', // Order ID. Required.
product_id: '111222', // Product ID. Required.
name: 'Apple IPhone 6 Plus (16GB) Space Gray EU', // Product Name. Required.
price: '654.90', // Price per Unit. Required.
quantity: '4' // Quantity of Items. Required.
}));
sa('ecommerce', 'addItem', JSON.stringify({
order_id: '123456',
product_id: '303404',
name: 'Motorola Nexus 6 (64GB) EU Light Gray',
price: '590.99',
quantity: '1'
}));
sa('ecommerce', 'addItem', JSON.stringify({
order_id: '123456',
product_id: '121234',
name: 'LG G4 (64GB) EU Leather',
price: '600.77',
quantity: '2'
}));
</script>