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>
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024