---
title: Add Zendesk Chat to a Public Signup Page
url: https://docs.maxio.com/selling/public-signup-pages/zendesk-chat
applies_to: Advanced Billing
updated: 2026-08-28
---

# Add Zendesk Chat to a Public Signup Page

Adding a live chat widget to a Public Signup Page lets prospects ask a question at the point they would otherwise abandon signup. Zendesk chat is installed the same way as any other third-party widget: by pasting its JavaScript snippet into your Public Page settings.

Zendesk chat will work on either V1 or V2 Public Signup Pages.

## The code snippet

To install Zendesk chat on your Public Signup Pages, you can use an example of the following code snippet:

```js
window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
    d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
    _.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute("charset","utf-8");
    $.src="https://v2.zopim.com/?[your_unique_code]";z.t=+new Date;$.
    type="text/javascript";e.parentNode.insertBefore($,e)})(document,"script");
    }
```

Replace `[your_unique_code]` with the account code Zendesk gives you — the snippet will not connect to your Zendesk account without it.

> The `<script>` section of the snippet is not included in this code.

## Where to add it

You can insert your code on <a href="https://docs.maxio.com/billing/public-pages/settings/configuring-public-page-default-settings" target="_blank" rel="noopener noreferrer">all Public Signup Pages</a> by adding the code under **Config > Settings > Public Page > Custom JavaScript - Classic (v1)** or **Custom JavaScript - Modern (v2)**. Additionally, you can add this to individual Public Signup Pages in Advanced Billing.

Choose the field that matches the page version you are targeting: code in the Classic (v1) field does not run on Modern (v2) pages, or the other way around.

## Limiting the widget to certain pages

Adding the snippet at the site level puts chat on every Public Signup Page. If you only want it on some of them, see [isolate JavaScript to a specific page](https://docs.maxio.com/billing/public-pages/settings/scope-custom-javascript-to-a-specific-page).
