There are numerous parameters that can be used to customize eyezon to bring maximum value for your business.

There are three levels of customization available to you. We'll cover each of them here.


1. Basic setup in the personal account

All parameters critical to the normal functioning of the service are accessible in your account. Please see Placing the button on your website for instructions.

However, if you want to use eyezon to its fullest, there are two more approaches you might want to consider.

2. Setting the button with the use of init function

<script>
 (function(w, d, s, o, f, js, fjs) {
  w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments) };
  js = d.createElement(s); fjs = d.getElementsByTagName(s)[0];
  js.id = o; js.src = f; js.async = true; fjs.parentNode.insertBefore(js, fjs);
 }(window, document, 'script', 'eyeZon', '<https://storage.googleapis.com/eyezonscriptv2/static/js/eyezonwidget.js>'));

 eyeZon('init', {
   businessId: '5ed8eb751f40454f41a32b40',
   region: 'us-1'
 });
</script>

In this example, businessID и region values are for demonstration purposes only.

In the example above, you can see the standard widget code. Everything that follows init can be replaced by the extended code shown below:

    eyeZon('init', {
    businessId: '5e81cf421cb513002ed6f39e',
    live: false,
    position: 'BOTTOM_RIGHT',
    language: 'ES',
    fallbackLanguage: 'EN',
    hideEyeAfterMinutes: 24 * 60,
    hideInputIfPossible: false,
    logging: false,
    unclosable: false
});

Parameters explained