I could find and edit the sales confirmation page (website_sale.confirmation ) in the backend (SAAS V8) to add affiliate tracking code below.
<!--START Goodpartners CODE-->
<script language="JavaScript" type="text/javascript"
src="http://www.goodpartners.eu/trackingcode_lead.php?mid=1&sec_id=M_13kW0pN3rW1uE&orderId=<?=$order.id?>">
</script>
<!-- END Goodpartners CODE -->
However upon saving the following error message is generated.
ValidateError
Field(s) `arch` failed against a constraint: Invalid display definition
Error details:
Start tag expected, '<' not found, line 1, column 3
Is javascript allowed?
you need to escampe your char. And it's no PHP so your code will not work ! You need to specify your order_id with Qweb !