Copy and paste this code as the first item into the <HEAD> of every web page that you want to connect widget.
<iframe src="https://widget.easyweek.io/company-slug" style="border: 0" frameborder="0" referrerpolicy="origin" class="widget-frame"></iframe>
<script>;(function(w,l){w.addEventListener("message",function(e){if(/(easyweek|eswk)\./.test(e.origin)&&e.data&&e.data.type==="redirect"){l.replace(e.data.url)}})})(window,location);</script>
<style>
.widget-frame {
display: block;
height: 600px;
width: 100%;
max-width: 550px;
margin: 25px auto;
padding: 10px;
border-radius: 15px;
box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
}
</style>
Warning! please change company-slug to your
company slug on EasyWeek (you can find it in EasyWeek website
config).