Personalized checkout and custom promotions with Shopify Scripts
Can you please tell me if you see a wrnong at these two scripts?
<script>
skroutz_analytics('ecommerce', 'addOrder', {
order_id: {{order.order_number}}, // Order ID. Required.
revenue: {{order.total_price}}, // Grand Total. Includes Tax and Shipping. Does not include payment costs.
shipping: {{order.shipping_price}}, // Total Shipping Cost. Does not include payment costs.
tax: {{order.tax_price}} // Total Tax.
});
</script>
<script>
skroutz_analytics('ecommerce', 'addItem', {
order_id: {{order.order_number}}, // Order ID. Required.
product_id: {{product.id}}, // Product ID. Required.
name: {{line_item.title}}, // Product Name. Required.
price: {{line_item.original_price}}, // Price per Unit. Required.
quantity: {{line.item_quantity}} // Quantity of Items. Required.
});
</script>
User | RANK |
---|---|
4 | |
2 | |
2 | |
2 | |
2 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023