Back to blue

Zendeskk Popup Button

Implementation

This script is currently been used by the dtc popups avaiable on the main site and silverback.

It listen for the Zendesk event and make the btn available.

Make sure to include this script into your page or project:

<script type="text/javascript" class="lazy-load" data-src="{{ static("js/ca_sg_zendesk_popup_button.js") }}"></script>

How to use it

Place the snippet below with the content needed inside.

<div class="js-dtc-popup ca-hide"> <button>Chat now</button> </div>

Example