Where to add
Admin → Online Store → Themes → Edit code → open layout/theme.liquid
. Insert 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
- Open
theme.liquid
and paste the script before</head>
. - Save and publish the theme.
Verify
- View Source → script visible in
<head>
. - Network →
unitoolbar.js
status 200.
Troubleshooting
- Republish after changes; some themes cache aggressively.
- Allow
my.pluro.ai
if you use CSP/security apps.