Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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 know the version you are using by checking the imported resources. The piece of code to insert the resources is something like this:

Import resources
<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:

Example: Import 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.

 

  • No labels