Hello.
Some of variables in my script does not work. Could you check why?
It only gives back the numer of the order.
Here is the script:
x('track', 'Purchase', { transaction_id: '{{order.name}}', value: {{order.totalPriceSet.shopMoney.amount}}, shipping_cost: {{order.totalShippingPriceSet.shopMoney.amount}}, discount_code: '{{order.discountCode}}', contents: [ {% for a in order.lineItems %} { id: '{{a.id}}', name: '{{a.title}}', ean: '{{a.sku}}', price: {{a.originalUnitPriceSet.shopMoney.amount}}, quantity: {{a.quantity}}, in_stock: ‘true’ }, {% endfor %} ] }); And here is the outcome:  Any help would be really appreciated. Thanks in advance.