How to add custom script to head?

Hi,

I would like to add a custom script to the <head> section in OpenSearch Dashboard to have Plausible analytics.

The code that I want to add is like the following:

<!-- Plausible analytics -->
<script defer data-domain="my.domain.com" src="https://plausible.io/js/plausible.js"></script>

How could I add it?

@Pablohn I don’t think you have the ability to do this unless you are building OpenSearch Dashboards from scratch. In there you can add to the source html your analytics script.