Which Overlay version am I using?
Overview
This page contains a guide to discover which is the Overlay version you are using.
Step-by-step guide
Whether you have the Overlay working, or you have received a snippet to initialize the Overlay, you can identify the version you are using by checking the imported resources. The piece of code to insert the resources looks like this:
<link href="https://preassets.empathybroker.com/overlay/{VERSION}/css/eb.resources.css" type="text/css"/> <script src="https://preassets.empathybroker.com/overlay/{VERSION}/js/eb.libs.js" type="text/javascript"/> <script src="https://preassets.empathybroker.com/overlay/{VERSION}/js/eb.resources.js" type="text/javascript"/>
So you can check the version with the {VERSION} string of the resources.
For example, if you have the following resources:
<link href="https://preassets.empathybroker.com/overlay/1.1/css/eb.resources.css" type="text/css"/> <script src="https://preassets.empathybroker.com/overlay/1.1/js/eb.libs.js" type="text/javascript"/> <script src="https://preassets.empathybroker.com/overlay/1.1/js/eb.resources.js" type="text/javascript"/>
It means that the version you are using is 1.1.
Note: the name of the JS and CSS resources may vary between different implementations, as well as the subdomain, which depends on the environment. A quick way to find these resources in any situation is to search for "empathybroker.com/overlay" in the file or tag where the Overlay is integrated.
Related articles