Travel button| Parameter | Values | Description |
|---|---|---|
Location parameters |
||
|
locations[0], locations[1] (optional) |
Address|latitude|longitude|radius|units
Default: none|none|none|20|km |
Address - Name of a place you want to be displayed. Note: address should be url encoded string. Example: Baker%20St%2C%20London (Baker St, London) Latitude - A float decimal value of geographical latitude coordinate for given address. Example: 25.5434 Longitude - A float decimal value of geographical longitude coordinate for given address. Example: 54.1260 Radius - A float value describes radius zone around given location. Example: 12.5 Units - Select between two values km/mi Example: mi |
Date parameters |
||
|
date_from, date_to (optional) |
Y-m-d or Y-m-d H:i:s
Default: date_from={today date} date_to={date_from + 30 days} |
Date range of search results. We are not recommend you to use both date_from and date_to parameters exept if you need to setup button for specific time range. Note: date should be url encoded. |
Button parameters |
||
|
type (optional) |
Integer
Default: 0 |
Type of button. 0 - Travel here, 1 - Go to, 2 - Mini button, 3 - Geogoer, 4 - Go from, 5 - Visit, 6 - Travel |
|
place_text (optional) |
String
Default: none |
Custom user created text will appears in additional button block. Value avalible for place_text values: 1,4 and 5 |
|
button_id (optional) |
Integer
Default: 0 |
If your are using several buttons on same site, be sure to add an unique button_id parameter. This will allow you to access each button statistics. You can use 1693 as a value. |
|
lang (optional) |
String
Default: en(en|lt) |
Button language. You are welcome with translation suggestions. Please contact us here. |