Where to add
Insert the Pluro script inside your global layout’s <head>
, right 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
- Open your main HTML layout (e.g.,
index.html
or your base template). - Paste the script above just before
</head>
. - Save, deploy, and clear any CDN cache (Cloudflare/CloudFront) if used.
Verify
- View Source and confirm the script appears in
<head>
. - DevTools → Network → filter
unitoolbar.js
→ Status should be 200.
Troubleshooting
- CSP/Security: allow
https://my.pluro.ai
inscript-src
if blocked. - Optimizers: don’t minify/alter this snippet.
- CDN Cache: purge after changes.