Developer Guide

Installation

The CIBT widget has been designed with ease of installation in mind. Simply copy several lines of HTML and include your partner key as shown below.

In your website, locate a place where there is room for the widget to expand, ideally on a webpage related to travel requirements or restrictions. The widget HTML should go within the body of your page, placed where you would like the widget to appear. For example, below a logo, menu, and header text, but above a footer area.

HTML

These two lines of HTML are all you will need, and once they are present on your website the CIBT widget will be displayed.

<div id="cibt-travel-widget" data-key="InsertYourPartnerKeyHere" data-purpose="T"></div>
<script src="https://cdn.cibt.com/widget/js/widget.js" type="text/javascript"></script>

Change the text InsertYourPartnerKeyHere to the series of numbers and letters given to you by CIBT Account Management, being careful to leave the quote marks as they are.

Should your travelers mostly be traveling for Business reasons, you can change the “T” following data-purpose to a “B” for Business, to tailor your visa requirements even better.