How to connect Skroutz analytics with my Shopify store?

How to connect Skroutz analytics with my Shopify store?

Eiri
Visitor
2 0 0

Good morning,

I try to connect my store that is in shopify with skroutz but by putting the following commands the second part does not read it. I have tried everything. Does anyone have a similar problem?

 

<script>
skroutz_analytics('ecommerce', 'addOrder',({
order_id: '{{ order.name }}', // Order ID. Required.
revenue: '{{ checkout.total_price | money}}', // Grand Total. Includes Tax and Shipping. Does not include payment costs.
shipping: '{{ shipping_method.price | money }}', // Total Shipping Cost. Does not include payment costs.
tax: '{{ checkout.tax_price | money }}' // Total Tax.
}));
</script>
<script>
skroutz_analytics('ecommerce', 'addItem',({

order_id: '{{ order.name }}', // Order ID. Required.
product_id: '{{ id }}', // Product ID. Required.
name: '{{product_name}}' , // Product Name. Required.
price: '{{ price | money }}', // Price per Unit. Required.
quantity: '{{ quantity }}' // Quantity of Items. Required.

}));
</script>

Replies 0 (0)