Where to add
Extensions → Templates → Templates → open your active template → edit index.php
and paste inside <head>
(before </head>
).
Pluro script (copy & paste)
<script type="text/javascript">(function(){var e=document.createElement('script');e.async=true;e.defer=true;e.setAttribute("type","text/javascript");e.setAttribute("src","https://my.pluro.ai/unitoolbar.js?lang=en");document.getElementsByTagName("head")[0].appendChild(e);})();</script>
Steps
- Edit the template’s
index.php
and paste the script before</head>
. - Save → System → Clear Cache.
Verify
- View Source → script present in
<head>
. - Network →
unitoolbar.js
shows 200.
Troubleshooting
- Template updates may overwrite changes → re-apply or use a system plugin that injects into
<head>
. - CSP/security settings: allow
my.pluro.ai
.