About Easibook+
Easibook+ is a web widget that allows you to embed the Easibook Online Coach
Searching panel in your website. It thus allows your website visitors to easily
do online booking of luxurious coaches and express buses tickets within
Indonesia.
Method #1 - Embedding The Search Widget
Before embedding the Easibook+ search widget in your web page, please ensure that you have
added the following CSS and JS files in the HEAD tag of the web page as shown below.
Notice the services array declared as part of the script. These will appear as tabs according to the elements
in the array. For example, having only bus and car in the array will show 2 tabs in the widget with
the aforementioned services. The services' names are not case-sensitive, however they should be spelt correctly.
<head>
...
<link type="text/css" rel="stylesheet" href="http://www.easybook.com/affiliate_easibook/style/easibookplus.css"
/>
<link type="text/css" rel="stylesheet" href="http://www.easybook.com/affiliate_easibook/style/easibookplus_tabbed.css"
/>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.easybook.com/affiliate_easibook/js/easibookplus_combined.js"></script>
<script type="text/javascript">
var services = ["bus", "car", "tour"];
</script>
...
</head>
The jQuery library can be any version newer than 1.7.2.
After that, add the following lines at the place where you want to embed the widget. Finally, replace
the "your_allocated_agent_id" with the agent ID that is given to you by Easibook via the affiliates approval email.
<div id="ezwidget">
<script type="text/javascript">
SearchObjectWithCountryAndLanguage("your_allocated_agent_id", "ID");
</script>
</div>
Method #2 - Simple and Easy: Direct Link to Our Easibook Homepage
Alternatively, if you do not want to have search panel embeded on your website or you find it too troublesome, you
can just add a link which points to our homepage directly using the following link.
http://id.easybook.com/affiliate_easibook/affiliate_forward_link.aspx?page=Homepage&source=your_allocated_agent_id
Customers coming from your website via the link will be labelled as customers under your affiliate account as well.