---
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)

September 25, 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?

Remove:

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 uses the Autocorp/AVA asset URL with `modal` and `customCta` features enabled, and it is added with `async defer`.

### Who should make the installation?

The installation can be completed by the site team or by Autocorp implementation support, depending on the workflow in place. 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 the hardcoded installation is removed and the header script is deployed, verify that the site is loading correctly. Once the correct script is in place, the site should display as expected.

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

Remove the embed script and keep only the header script.

- [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)

[![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