title: Click listener on smartsupp
body: <p>I want to add an event listener click on <code>smartsupp</code>.
  I have only this thing:</p>
  <pre><code>&lt;script type=&quot;text/javascript&quot;&gt;
          var _smartsupp = _smartsupp || {};
          _smartsupp.key = 'f*****************89';
          window.smartsupp||(function(d) {
              var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];
              s=d.getElementsByTagName('script')[0];c=d.createElement('script');
              c.type='text/javascript';c.charset='utf-8';c.async=true;
              c.src='https://www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s);
  
          })(document);
  
          smartsupp('language','&lt;?php echo Yii::app()-&gt;language ?&gt;');
      &lt;/script&gt;
  </code></pre>
  <p>On which element should I set <code>addEventListener</code> or how can I do it in a proper way?<br />
  All what I want it's a click on smartsupp box and when it opens I get a <code>console.log(&quot;OPENED&quot;)</code></p>