How to add custom code

Add custom scripts to your account header or body

Laurie Garcia avatar
Written by Laurie Garcia
Updated over a week ago

Your Pathwright Account Settings include fields for adding any custom custom codes or scripts that you wish to add. These can include scripts from third-party apps that you'd like to integrate into your account for which we do not have an existing integration.

How to add custom code

Go to Account Settings > Connect other apps > Add custom code & pixel tracking. You'll have the options to paste your custom code under "Inject code into the header" or "Inject code into the body."

Injecting your code into the header will ensure that it loads before the content on each page, while injecting it into the body will load your code after the content on the page loads.

Examples

For several specific applications, see the following articles:

These are just a few of the possible applications.

Get more help

While we're not able to provide extensive support for your custom codes, if you have a question or need help removing faulty code, just reach out via the chat or contact us at hello@pathwright.com and we'll be happy to help however we can.

Did this answer your question?