Navigate to your Company Settings
Scroll down to the Affiliate portal head code section
Paste your script(s)
Note: this is an HTML field, so ensure you wrap your scripts in <script> tags.
⚠️ This is functionality is recommended for advanced users only.