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)
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey 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, 2024