When tracking Shopify sales using OSI Affiliate Software, a different variable should be used to capture four-digit amounts with comma.
To remove the comma, add |remove:',' to the variable amount:{{subtotal_price|money_without_currency}}
Example:
<script>
function hideIF() {
document.getElementById('IF').style.display = 'none';
}
function getSaleInfo() {
document.getElementById('st_code').innerHTML='<iframe src="https://yourdomain.ositracker.com/sales/salejs/amount:{{subtotal_price|money_without_currency|remove:','}}/transaction:{{order.order_number}}/Email:Add_Email/PromoCode:{{order.discounts[0].code}}" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">';
}
window.onload = getSaleInfo;
</script>
<div id="st_code"></div>
Follow the steps below to access your OSI tracking code:
Step 1. Log in to your Shopify admin account. Click Settings
Step 2. Under setting, click Checkout
Step 3. Scroll down and look for Order processing - Additional scripts field. Update the variable and click Save once done.