---
title: How to Install the Website Header Script
description: Learn how to install the website header script, remove old embed code, and verify the site loads correctly.
---

[Skip to content](https://getautocorp.com/en-ca/help/how-to-install-the-website-header-script#main-content)

English - Canada

Show submenu for translations

![2023-Autocorp-TM-Logo-BL-Transparent@4x](https://getautocorp.com/hs-fs/hubfs/2023-Autocorp-TM-Logo-BL-Transparent@4x.png?width=200&height=34&name=2023-Autocorp-TM-Logo-BL-Transparent@4x.png)

Open main navigation

Close main navigation

- English - Canada
  
  Show submenu for translations
- [Request Support](https://getautocorp.com/request-support)

[Request Support](https://getautocorp.com/request-support?hsLang=en-ca)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [AVA Help Centre](https://getautocorp.com/en-ca/help?hsLang=en-ca)
2. [Getting Started & Account Setup](https://getautocorp.com/en-ca/help/getting-started-account-setup?hsLang=en-ca)

October 19, 2026

# How to Install the Website Header Script

## How do you install the website header script?

Add the header script to the site’s global tag or `<head>` section, and remove any existing hardcoded installation first. In one standard setup, the header script was the only script left on the site after the hardcoded code was removed.

### What should be removed first?

Before installing, remove the following:

1. All existing AVA tools from the site
2. Any existing script placements
3. The existing header script if you are replacing it with a new one
4. The embed script, if the goal is to leave only the header script

### Where should the script be placed?

Place the header script in the global tag or the `<head>` section of the website.

### What script format is used?

The header script references the Autocorp/AVA asset URL with the `modal` and `customCta` features enabled. It is loaded using the `async` and `defer` attributes. For example:

```
<script src="[AUTOCORP_AVA_ASSET_URL]" data-features="modal,customCta" async defer></script>
```

### Who should make the installation?

Installation can be completed by the site team or by the Autocorp implementation team, depending on the workflow. For some sites, the preferred approach is to have the script added directly in the header so the implementation team can complete the rest of the setup from there.

### How do you confirm it worked?

After removing the hardcoded installation and deploying the header script, verify that the site loads correctly and that all AVA tools render as expected. If the site does not display correctly, confirm that no duplicate scripts remain and that the header script is the only AVA script present.

### What if there is both an embed script and a header script?

Remove the embed script and keep only the header script. Having both scripts active at the same time can cause duplicate tool loading or unexpected conflicts.

- [Getting Started & Account Setup](https://getautocorp.com/en-ca/help/getting-started-account-setup?hsLang=en-ca)
- [Website Setup & Installation](https://getautocorp.com/en-ca/help/website-setup-installation?hsLang=en-ca)
- [Leads & Integrations](https://getautocorp.com/en-ca/help/leads-integrations?hsLang=en-ca)
- [Campaigns & Marketing](https://getautocorp.com/en-ca/help/campaigns-marketing?hsLang=en-ca)
- [AVA™ Credit](https://getautocorp.com/en-ca/help/ava-credit?hsLang=en-ca#main-content)

    - [TransUnion](https://getautocorp.com/en-ca/help/ava-credit?hsLang=en-ca#transunion)
- [AVA™ ID](https://getautocorp.com/en-ca/help/ava-id?hsLang=en-ca)
- [AVA™ VeriDrive](https://getautocorp.com/en-ca/help/ava-veridrive?hsLang=en-ca)
- [AVA™ Trade](https://getautocorp.com/en-ca/help/ava-trade?hsLang=en-ca)
- [AVA™ MatchBook](https://getautocorp.com/en-ca/help/ava-matchbook?hsLang=en-ca)
- [Guides, Tips & Strategies](https://getautocorp.com/en-ca/help/guides-tips-strategies?hsLang=en-ca)
- [Billing & Invoicing](https://getautocorp.com/en-ca/help/billing-invoicing?hsLang=en-ca)
- [Internal Only](https://getautocorp.com/en-ca/help/internal-only?hsLang=en-ca#main-content)

    - [Support (Troubleshooting & FAQ’s)](https://getautocorp.com/en-ca/help/internal-only?hsLang=en-ca#support-troubleshooting-faqs)

[![2023-Autocorp-TM-Logo-BL-Transparent@4x](https://getautocorp.com/hs-fs/hubfs/2023-Autocorp-TM-Logo-BL-Transparent@4x.png?width=300&height=51&name=2023-Autocorp-TM-Logo-BL-Transparent@4x.png "2023-Autocorp-TM-Logo-BL-Transparent@4x")](https://cdn.prod.website-files.com/668415686f0a8cf761c4b334/66844e747562f707f0c5499d_2023-Autocorp-TM-Logo-WH-Transparent%404x.png)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2025, Autocorp.ai