Zickt

Web Messenger

Embed the Zickt live chat widget on your website with one script tag. Covers installation, framework examples, domain security, and widget customization.

The Zickt Web Messenger is a live chat widget that you embed on your website so visitors can start real-time conversations with your team. Messages flow into your shared team inbox alongside conversations from all other channels.

Installation

Add the following script tag to your website, just before the closing </body> tag:

index.html
<script src="https://cdn.zickt.com/loader.js" data-channel-key="YOUR_CHANNEL_KEY" async></script>

Finding your channel key

Your channel key is available in Settings > Channels > Messenger under the Installation tab. Copy it from the installation snippet shown there.

Framework examples

app/layout.tsx
import Script from 'next/script';

export default function RootLayout({ children }) {
  return (
    <html>
      <body>
        {children}
        <Script
          src="https://cdn.zickt.com/loader.js"
          data-channel-key="YOUR_CHANNEL_KEY"
          strategy="lazyOnload"
        />
      </body>
    </html>
  );
}
src/App.tsx
import { useEffect } from 'react';

function App() {
  useEffect(() => {
    const script = document.createElement('script');
    script.src = 'https://cdn.zickt.com/loader.js';
    script.dataset.channelKey = 'YOUR_CHANNEL_KEY';
    script.async = true;
    document.body.appendChild(script);
  }, []);

  return <div>Your App</div>;
}
App.vue
<script setup>
import { onMounted } from 'vue';

onMounted(() => {
  const script = document.createElement('script');
  script.src = 'https://cdn.zickt.com/loader.js';
  script.dataset.channelKey = 'YOUR_CHANNEL_KEY';
  script.async = true;
  document.body.appendChild(script);
});
</script>
index.html
<!DOCTYPE html>
<html>
  <head>
    <title>My Website</title>
  </head>
  <body>
    <!-- Your content -->

    <script
      src="https://cdn.zickt.com/loader.js"
      data-channel-key="YOUR_CHANNEL_KEY"
      async
    ></script>
  </body>
</html>

Allowed domains

The chat widget only loads on domains you've approved. This prevents unauthorized use of your channel key on other websites.

Add your domains in Settings > Channels > Messenger under Allowed Domains:

  • example.com — your production site
  • staging.example.com — staging environment
  • localhost:3000 — local development

Click Add Domain for each entry.

Customization

Customize the widget appearance in Settings > Channels > Messenger:

OptionDescription
PositionLeft or right alignment on the screen
ColorPrimary color to match your brand
GreetingWelcome message shown to new visitors
Messenger channel appearance tab with theme colors, position, and launcher settings

Troubleshooting

On this page