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.
Zoom Contact Center
Zoom Virtual Agent
Get and add the embed code
To get the campaign embed code:
- Sign in to the Zoom web portal as a Contact Center Admin.
- In the navigation panel, choose Contact Center Management, then choose Campaigns.
- To open the modal, choose Embed Web Tag.
- To enable campaigns on your website, copy the web tag.
- 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.
- Sign in to the Zoom web portal as a Contact Center Admin.
- In the navigation panel, choose Contact Center Management, then choose Campaigns.
- Choose Add Campaign.
- Configure the campaign settings.
To deploy Virtual Agent with campaign mode:
- Sign in to the Zoom web portal as a Virtual Agent Admin.
- In the navigation panel, choose Virtual Agent, then choose Campaigns.
- To open the modal, choose Embed Web Tag.
- To enable campaigns on your website, copy the web tag and then embed it into each web page of your website.
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.