๐ Fourvenues iFrame Variants
Discover all the available versions of the Fourvenues iFrame and learn how to use the correct script depending on the content you want to display on your website.
iFrames allow you to load your microsite or specific parts of it directly within your web page, without redirecting the user. Just copy, adapt, and paste the script you need.
Before you begin
๐ค What is a slug?
A slug is the final part of a URL that uniquely identifies a business, user, or event within Fourvenues.
It is a short text, without spaces, usually lowercase, and separated by hyphens. You will need it to build your iFrames.
๐ Examples of slugs
Business slug
URL:https://fourvenues.com/slivingclub
๐ slivingclub is the business slug
Slug de usuario
URL:https://web.fourvenues.com/es/danidiaz
๐ danidiaz is the user slug..
โญ Basic iFrame
Displays your full microsite (events, bookings, available services).
<script src="https://www.fourvenues.com/assets/iframe/{business_slug}"></script>
๐ Booking calendar
For businesses that operate by day and whose main service is bookings (restaurants, beach clubs, day clubsโฆ).
<script src="https://www.fourvenues.com/assets/iframe/{business_slug}/calendar"></script>
๐๏ธ Events (list)
Displays a list of upcoming events for the business.
<script src="https://www.fourvenues.com/assets/iframe/{business_slug}/events"></script>
๐๏ธ Events calendar
Displays a visual calendar with flyers for each event by day.
<script src="https://www.fourvenues.com/assets/iframe/{business_slug}/calendar@"></script>
๐ซ Specific event
Load a specific event directly using its ID or slug.
<script src="https://www.fourvenues.com/assets/iframe/{business_slug}/events/{event_slug}"></script>
๐ซ 2 Events on the Same Day
Load two events that take place on the same day directly.
<script src="https://www.fourvenues.com/assets/iframe/{business_slug}/@{yyyy-mm-dd}/"></script>
๐ Show only certain service types
You can limit the content to specific services: guest list, tickets, or bookings.
<script src="https://www.fourvenues.com/assets/iframe/{slug_del_negocio}/events/{slug_del_evento}?services=guest-list,tickets,bookings"></script>
๐จ Theme (light / dark)
You can choose between a light or dark theme, from the microsite settings in Fourvenues PRO or directly in the iFrame:
<script src="https://www.fourvenues.com/assets/iframe/{business_slug}?theme=dark"></script>
๐ค User iFrame by business
Displays the microsite filtered for a specific user of a business.
<script src="https://www.fourvenues.com/assets/iframe/{user_slug}@{business_slug}"></script>
๐ค๐๏ธ User iFrame by event
Displays a specific event associated with a specific user.
<script src="https://www.fourvenues.com/assets/iframe/{user_slug}/events/{event_id}"></script>
Need help?
๐ฅ For more information, donโt hesitate to contact us via PRO chat or at help@fourvenues.com, letting us know how we can assist you.