To implement the widget on your site follow the information below.
Live example of the bus booking widget
Option 1 : WordPress installation
Option 2 : HTML/Any site installation
Simply download our Camboticket WordPress Plugin
See possible parameters in the Widget Customization section below
[camboticket from="95" to="122" width="300px" affiliate="65536" ]
or to display search results under the widget
[camboticket from="95" to="122" width="80%" affiliate="1" bgcolor="lightblue" show-results="true"]
The process is similar to Google Analytics
<script>
(function(b,u,s,r,i,d,e){b['CamboticketWidget']=i;b[i]=b[i]||function(){
(b[i].q=b[i].q||[]).push(arguments)},b[i].l=1*new Date();d=u.createElement(s),
e=u.getElementsByTagName(s)[0];d.async=1;d.src=r;e.parentNode.insertBefore(d,e)
})(window,document,'script','//widget.camboticket.com/widget.js','ct');ct('mode', 'affiliate');
</script>
You can use any combinations, only the class camboticket-widget is required on the html element
<div class="camboticket-widget" affiliate="65536"></div>
<span class="camboticket-widget" bgcolor="lightblue"></span>
<div class="camboticket-widget" from="122" to="95" width="500px"></div>
| Property | Required | Default | Description |
|---|---|---|---|
| affiliate | false | 65536 | Your affiliate ID |
| from | false | null | Location identification number (eg.: 95) |
| to | false | null | Location identification number (eg.: 303) |
| bgcolor | false | #FFF | Widget Background Color |
| width | false | 100% | Widget Width (px, em, %) |
| show-results | false | false | Show results below widget |
| 1 | Cambodia | country |
|---|---|---|
| 27 | Aek Phnum | city |
| 28 | Andoung Meas | city |
| 29 | Anlong Veaeng | city |
| 30 | Bak Khlang | city |
| 31 | Bakan | city |
| 32 | Ban Lung | city |
| 33 | Banan | city |
| 34 | Banteay Meas | city |
| 35 | Bar Kaev | city |
| 36 | Baray | city |
| 37 | Basedth | city |
| 38 | Bat Dambang | city |
| 39 | Batheay | city |
| 40 | Battambang | city |
| 41 | Bavel | city |
| 42 | Botum Sakor | city |
| 43 | Bourei Cholsar | city |
| 44 | Chamkar Leu | city |
| 45 | Chantrea | city |
| 46 | Cheung Prey | city |
| 47 | Chhloung | city |
| 48 | Chhuk | city |
| 49 | Chum Kiri | city |
| 50 | Damnak Chang’aeur | city |
| 51 | Dangkao | city |
| 52 | Kaev Seima | city |
| 53 | Kampong Cham | city |
| 54 | Kampong Chhnang | city |
| 55 | Kampong Leaeng | city |
| 56 | Kampong Leav | city |
| 57 | Kampong Seila | city |
| 58 | Kampong Speu | city |
| 59 | Kampong Thom | city |
| 60 | Kampong Trabaek | city |
| 61 | Kampong Trach | city |
| 62 | Kampot | city |
| 63 | Kampot | city |
| 64 | Kamrieng | city |
| 65 | Kandal Stueng | city |
| 66 | Kang Meas | city |
| 67 | Kaoh Soutin | city |
| 68 | Kiri Vongs | city |
| 69 | Koah Thum | city |
| 70 | Koas Krala | city |
| 71 | Koh Kong | city |
| 72 | Koun Mom | city |
| 73 | Kralanh | city |
| 74 | Kratie | city |
| 75 | Krong Kep | city |
| 76 | Kuleaen | city |
| 77 | Leuk Daek | city |
| 78 | Lumphat | city |
| 79 | Me Sang | city |
| 80 | Mean Chey | city |
| 81 | Mittakpheap | city |
| 82 | Mondul Seima | city |
| 83 | Mongkol Borei | city |
| 84 | Moung Ruessei | city |
| 85 | Mukh Kampul | city |
| 86 | Odongk | city |
| 87 | Ou Chrov | city |
| 88 | Ou Chum | city |
| 89 | Ou Ya Dav | city |
| 90 | Pailin | city |
| 91 | Pal Hal | city |
| 92 | Peam Chor | city |
| 93 | Peam Ro | city |
| 94 | Pechreada | city |
| 95 | Phnom Penh | city |
| 96 | Phnum Kravanh | city |
| 97 | Phnum Proek | city |
| 98 | Phnum Srok | city |
| 99 | Phnum Sruoch | city |
| 100 | Ponhea Lueu | city |
| 101 | Preaek Prasab | city |
| 102 | Preah Netr Preah | city |
| 103 | Preah Sdach | city |
| 104 | Prey Chhor | city |
| 105 | Prey Nob | city |
| 106 | Prey Veaeng | city |
| 107 | Prey Veng | city |
| 108 | Pursat | city |
| 109 | Ruessei Kaev | city |
| 110 | Rumduol | city |
| 111 | S’ang | city |
| 112 | Sala Krau | city |
| 113 | Samlout | city |
| 114 | Sampov Lun | city |
| 115 | Samraong | city |
| 116 | Sandan | city |
| 117 | Sangkae | city |
| 118 | Sangkom Thmei | city |
| 119 | Senmonourom | city |
| 120 | Sesan | city |
| 121 | Siem Pang | city |
| 122 | Siem Reap | city |
| 123 | Sihanoukville | city |
| 124 | Sisophon | city |
| 125 | Sithor Kandal | city |
| 126 | Smach Mean Chey | city |
| 127 | Smach Meanchey | city |
| 128 | Soutr Nikom | city |
| 129 | Srae Ambel | city |
| 130 | Srei Snam | city |
| 131 | Stoung | city |
| 132 | Stueng Saen | city |
| 133 | Stueng Trang | city |
| 134 | Stung Treng | city |
| 135 | Suong | city |
| 136 | Svay Chek | city |
| 137 | Svay Rieng | city |
| 138 | Svay Teab | city |
| 139 | Ta Khmau | city |
| 140 | Ta Khmau | city |
| 141 | Ta Loas | city |
| 142 | Takeo | city |
| 143 | Tbeng Meanchey | city |
| 144 | Thma Bang | city |
| 145 | Thma Puok | city |
| 146 | Thpong | city |
| 147 | Tram Kak | city |
| 148 | Trapeang Prasat | city |
| 149 | Veal Veaeng | city |
| 150 | Veun Sai | city |
| 152 | Bangkok2 | city |
| 153 | Poi Pet | city |
| 154 | Bavet | city |
| 155 | Sra Aem | city |
| 156 | Koh Rong Sanloem (Sun Set Beach) | City area |
| 157 | Koh M peybei | City area |
| 159 | Koh Rong | City area |
| 160 | Koh Rong (Coconut Beach) | City area |
| 161 | Koh Rong (Deum Tkov Village) | City area |
| 162 | Koh Rong (Koh Toch Port) | City area |
| 163 | Koh Rong (Long Set Beach) | City area |
| 164 | Koh Rong (Roum Dul Beach) | City area |
| 165 | Koh Rong (Villager Port) | City area |
| 167 | Koh Rong (Required Port) | City area |
| 168 | Koh Rong (Sok San Beach) | City area |
| 170 | Koh Rong (West Side of Island) | City area |
| 171 | Koh Rong Samloem | City area |
| 172 | Koh Rong Samloem (23 Port Village) | City area |
| 174 | Koh Rong Samloem (Driff Wood Port) | City area |
| 175 | Koh Rong Samloem (Mad Monkey Port) | City area |
| 176 | Koh Rong Samloem (Saracen Bay Beach Area) | City area |
| 178 | Koh Rong Samloem (West Side of Island) | City area |
| 179 | Koh Rong Samloem (West Side of Island, Any Beach) | City area |