Tracking in Shopify
On this page
Tracking Revenue
If you want to use the revenue tracking goal within a Shopify project, you can use the following code.
Just paste it in Shopify /admin/settings/checkout
in the text area Order status page
.
window['ablyft'] = window['ablyft'] || [];
window['ablyft'].push({
eventType: 'revenue',
eventName: 'revenue',
eventValue: {{ total_price | divided_by: 100.0 }} //that is correct!
});
More info here: https://help.shopify.com/en/manual/orders/status-tracking/customize-order-status/add-conversion-tracking