Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am having problems with the tracking pixel.
I consulted this page: https://help.shopify.com/en/manual/orders/notifications/email-variables#order-fulfillment and changed total_price to subtotal_price
I would like to receive from Shopify on my pixel the subtotal_price ( The subtotal doesn't include taxes (unless taxes are included in the prices) or shipping costs.)
Can anyone help me with this?
I entered this pixel on Shopify but I keep getting the total_price
This is the pixel:
<img src="https://tr.traffeffy8.com/p?o=20920528&m=13144&t=i&sale={{ subtotal_price | money_without_currency }}&adv_sub4={{ subtotal_price | money_without_currency }}&adv_sub5={{ order_number }}¤cy={{ currency }}" width="0px" height="0px">
===========================
<script src="https://web-resources.offer18.net/sdk/web/WebSDK.js">
<script>
window.Offer18WebSDK.activateDebugMode();
</script>
<script>
window.Offer18WebSDK.trackConversion({
domain: 'tr.traffeffy8.com',
accountId: ’13144’,
postbackType: ’’, // 'iframe' or 'pixel'
isGlobalPixel: true,
allowMultiConversion: false, // true or false
conversionData: {
sale: '{{ subtotal_price | money_without_currency }}',
currency: '{{ currency }}',
adv_sub1: '{{order_id}}',
adv_sub4: '{{ subtotal_price | money_without_currency }}',
adv_sub5: '{{ order_number }}',
}
})
</script>
Translated with DeepL.com (free version)
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025