Skip to content
Pengo Help Center
Browse all guides

Install Pengo on Wix

Add the Pengo chat widget to your Wix site with Wix's Custom Code setting. Paste one snippet at the end of the body on all pages.

Install the widget 1 min read Updated
On this page

Wix lets you add code to every page of your site from one place, called Custom Code. You add the Pengo snippet there once, and the chat bubble shows across your published site.

#Add the snippet with Custom Code

  1. Go to your site’s dashboard in Wix and open Settings.

  2. Find Custom Code (in the Advanced section) and open it.

  3. Click + Add Custom Code.

  4. Paste the snippet into the code box.

    Pengo snippet
    <!-- Pengo Widget -->
    <script>
      (function() {
        // A stub, so pengo('identify', …) and other calls work before the widget has loaded.
        window.pengo = window.pengo || function() { (window.pengo.q = window.pengo.q || []).push(arguments); };
        window.pengo.propertyId = 'YOUR_PROPERTY_ID';
        window.pengo.q = window.pengo.q || [];
        var script = document.createElement('script');
        script.async = true;
        script.src = 'https://app.pengo.chat/embed.js?v=2';
        var firstScript = document.getElementsByTagName('script')[0];
        firstScript.parentNode.insertBefore(script, firstScript);
      })();
    </script>
  5. Give the code a name you’ll recognise, such as Pengo chat.

  6. Under Add Code to Pages, choose All pages and Load code once.

  7. Under Place Code in, choose Body - end.

  8. Click Apply.

  9. Open your published site in a new tab. The chat bubble appears in the corner.

Custom code doesn’t run in the Wix editor or preview. Check your live site.

#Check that it works

Open your published site in a private window and look for the bubble, then confirm that Pengo has detected the install. Verify your installation walks through it, with a troubleshooting checklist if the bubble doesn’t show.

#Other platforms

Common questions

I can't find Custom Code in my Wix settings. Why?

Custom code isn't available on every Wix plan. Check that your Wix plan allows custom code and that your site is published.

Should I choose Load code once or on each new page?

Load code once. Pengo follows page changes on its own, so it doesn't need to reload on every page.

Was this guide helpful?

Your answer helps us improve it.