Deploy with campaign mode

View as Markdown

Use campaign mode when you want to manage which chat or video experience launches from the admin portal. Add the Zoom Customer Experience SDK for web snippet to your website once, then use campaigns to control which flow launches and on what pages.

Get and add the embed code

To get the campaign embed code:

  1. Sign in to the Zoom web portal  as a Contact Center Admin.
  2. In the navigation panel, choose Contact Center Management, then choose Campaigns.
  3. To open the modal, choose Embed Web Tag.
  4. To enable campaigns on your website, copy the web tag.
  5. Add the campaign script to your site. A campaign chat script may look like this:
<script type="module" data-apikey="your_key"
src="https://test.example.com/sample/web-sdk/chat-client.js">
</script>

Deploy the campaign

After adding the embed code to your site, deploy your web chat or video experience. When adding a campaign, you can control several aspects of the experience, including when it should start, how the chat experience launches, and specific URLs to include.

  1. Sign in to the Zoom web portal  as a Contact Center Admin.
  2. In the navigation panel, choose Contact Center Management, then choose Campaigns.
  3. Choose Add Campaign.
  4. Configure the campaign settings.

Using Google Tag Manager

When using Google Tag Manager (GTM), use this script to inject the SDK into your GTM pages.

<script>
(function(){
    var el = document.createElement("script");
    el.type = "module";
    el.setAttribute("data-apikey", "[REPLACE ME]");
    el.src ="https://us01ccistatic.zoom.us/us01cci/web-sdk/chat-client.js"
    document.body.appendChild(el);
})();
</script>

For advanced prioritization, see Google Support's Prioritization  documentation.