Copianto integrates smoothly with Wix via custom code injection, adding a fast, cache-busting script and stylesheet that render the chat widget across your site.

Initial Configuration Setup

  1. In Wix Studio/Editor → Settings → Custom Code, click Add Custom Code.

  2. Paste the Copianto embed snippet. Set All Pages, placement Body – End, and Load once per visit. Apply and Publish.

<script>
(function () {
  const timestamp = new Date().getTime();

  // Demo public key — replace with your real public key when ready
  const publicKey = "demo-public-key-12345";

  // Append stylesheet with cache-busting query
  const link = document.createElement("link");
  link.rel = "stylesheet";
  link.href = "https://copiantoai.ams3.cdn.digitaloceanspaces.com/widget/v4/copianto-widget.css?" + timestamp;
  document.head.appendChild(link);

  // Create and append widget container (at top of body)
  const widgetDiv = document.createElement("div");
  widgetDiv.id = "copianto-chat";
  widgetDiv.setAttribute("data-public-key", publicKey);
  document.body.insertBefore(widgetDiv, document.body.firstChild);

  // Append main widget script with cache-busting query
  const script = document.createElement("script");
  script.src = "https://copiantoai.ams3.cdn.digitaloceanspaces.com/widget/v4/copianto-widget.js?" + timestamp;
  document.body.appendChild(script);
})();
</script>


Notes: The script appends Copianto’s CSS/JS with a timestamp to avoid caching and inserts a div with your Public Key near the start of the body for visibility.


See Copianto AI
for yourself

Find out how Copianto can help your company transform the customer experience with our conversational AI agents.

Work faster with Chatassist AI.

See Copianto AI
for yourself

Find out how Copianto can help your company transform the customer experience with our conversational AI agents.

Work faster with Chatassist AI.

See Copianto AI
for yourself

Find out how Copianto can help your company transform the customer experience with our conversational AI agents.

Work faster with Chatassist AI.