Developers Documentation
All plugins have a unique identifier that connects your experiences to your account. We have developed 2 plugin types to help you connect your website to AnyRoad. Each plugin serves a different purpose but can be used in conjunction.
The 2 available plugin types are:
- Main Plugin: The main AnyRoad plugin displays all your visible experiences along with their descriptions and scheduling on your website. Your guests enjoy a seamless booking experience while keeping the whole process on one page.
- Custom Plugin: the AnyRoad custom experience plugin allows you to group and display specific experiences on different pages within your website.
Responsive Breakpoints
The plugin's breakpoints are calculated based on the width of the iframe container it is integrated into.
Type | Breakpoint |
---|---|
Desktop | > 784px. |
Tablet | > 696px. , < 783px. |
Mobile | < 695px. |
You can find an example stylesheet here.
Link with a Specific Experience
If you have installed the Main Plugin on a page (e.g www.example.com/book-online), to open a specific Experience without showing all visible experiences, you can simply copy the direct URL of the experience and link it with your button.
The link to a specific experience would look like this: www.example.com/book-online#id=tour_slug
You can find your tour_slug
by clicking on an experience on your Main Plugin and copying the URL.