Skip to content
aeropage-round-dark
Aeropage Documentation
Setup your Project

icon picker
Custom Header Scripts

Aeropage allows you to add custom scripts to your deployed projects. This is useful if you need analytics like Google Analytics or live chat widgets such as chatra in your projects.
error
Be careful adding scripts from unverified sources as it can cause security issues.

What you need

Script with the script tag from an external source (i.e. Google Analytics, Chatra, Facebook Live Chat, etc.)
Deployed Aeropage Project (possibly with a domain)

Adding Custom Scripts

Custom scripts can be added via main dashboard or through the project dashboard. When adding the script, please don’t forget to include the <script> tags. Because of this, you can paste scripts from multiple external sources in a single input.

info
After adding the script, you will need to publish a new version to your domain so that the custom scripts execute on your deployed project.

Add the Custom Scripts via Main Dashboard

In the main dashboard, right click on a project and select “Edit Details”
image.png
A popup will appear at the right side of the screen. In the Custom Script input, paste the script that you copied.
image.png
After that, Click Save

Add the Custom Scripts via Project Dashboard

Inside the Project Dashboard, click on “Global/Environment” button
image.png
In the “Global/Environment” popup, click edit. A new popup will appear beside the current popup.
image.png
Paste the script in the Custom Script input inside the “Project Details” popup.
image.png
After that, Click the Save button

After publishing a new version to your domain, the custom script will be executed when opening your deployed project. In this example, a live chat widget was added (shown on the lower right corner) to the project via Custom Scripts input.
image.png
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.