• ⚠️ Important: This forum is being discontinued.

    We've moved community discussion to a new platform — better search, faster replies, and tighter integration with the Pabbly apps you already use.

    • Sunset date: 23 July 2026 (this forum will go offline after that)
    • Until then: Login remains available for 30 days
    • Continue the conversation: https://sales.pabbly.com/forum

hi can i put variables inside custom tracking code java script

i have this js code i put in custom code tracking for thank you page i want to place total cost and invoice id or order id
<script id="pap_x2s6df8d" src="https://www.linkaraby.com/scripts/2xjh8l8dq0" type="text/javascript"></script>

<script type="text/javascript">

PostAffTracker.setAccountId('65465');

var sale = PostAffTracker.createSale();

sale.setTotalCost('Total Cost');

sale.setOrderID('Order ID');



PostAffTracker.register();



</script>
 
A

Avneesh

Guest
Hey Khaled, this couldn't be done before. But our team made some changes and now you can put Invoice ID and Total amount for tracking purposes on the thank you page.

1648040939852.png
 
Top