> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/how-tos/manual-integration/custom-sdk-integration/sdk-settings/add-custom-javascript.md).

# Add Custom JavaScript

**GoAffPro** provides you with the option to add custom JavaScript to load along with the referral tracking script.

To add custom JavaScript, go to the **SDK Settings** section in the **Settings** tab of the GoAffPro admin panel.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FzSirurnzLfWc0J9X7DnY%2Fimage.png?alt=media&amp;token=8d6695b5-5b8a-4ff5-83f0-a569813ca572" alt=""><figcaption><p>Settings > SDK Settings</p></figcaption></figure>

Here, go to the Custom Javascript section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FpKowertOKP1Dq4mmBY1L%2Fimage.png?alt=media&amp;token=ca393a19-4c35-433f-87ec-a33d8a483190" alt=""><figcaption><p>Custom Javascript</p></figcaption></figure>

Now, click on **Edit**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FDRC14W6VxwUDjKZBHUrO%2FScreenshot%202023-11-27%20155201.png?alt=media&amp;token=ab9458d7-63d6-4be8-9dde-0e086158e887" alt=""><figcaption><p>Click on Edit</p></figcaption></figure>

You can accordingly add custom JavaScript code.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FcsU9owTxxvmWfohTrWtP%2FScreenshot%202023-11-27%201552218.png?alt=media&amp;token=fc53477e-ecb0-4d98-a775-175423017af3" alt=""><figcaption></figcaption></figure>
