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.
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.
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”
A popup will appear at the right side of the screen. In the Custom Script input, paste the script that you copied.
After that, Click Save
Add the Custom Scripts via Project Dashboard
Inside the Project Dashboard, click on “Global/Environment” button
In the “Global/Environment” popup, click edit. A new popup will appear beside the current popup.
Paste the script in the Custom Script input inside the “Project Details” popup.
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.