Reservation Widget Setup for Cucinino pasta bar

Configure your reservation widget and generate custom booking links

Facebook
  1. From your Facebook page, click "Edit Action Button"
    Detailed instructions here
  2. Select "Contact Us" from the options list
  3. Copy the URL below into the URL field
    content_copy https://cucinino-pasta-bar.ialoc.ro?experience=focus&source=facebook
Instagram
  1. Add the link below to your Instagram page
    Detailed instructions here
  2. Custom link
    content_copy https://cucinino-pasta-bar.ialoc.ro?experience=focus&source=instagram
TikTok
  1. Add the link below to your TikTok page
    Detailed instructions here
  2. Custom link
    content_copy https://cucinino-pasta-bar.ialoc.ro?experience=focus&source=tiktok
Google Maps

Use the Link Generator tab to create a Google Maps booking link with source=google-card

content_copy https://cucinino-pasta-bar.ialoc.ro?experience=focus&source=google-card
WordPress Plugin Setup
  1. Search for "ialoc Widget Embed" in WordPress plugins or download here
  2. Activate the plugin (Settings → ialoc Widget)
  3. Configure the booking link using the Link Generator tab above (use custom URL option)
JavaScript Embed
Popup Mode Recommended - Opens in overlay
<script type="text/javascript">
!function(e,t,i,n,s,o,c,a,d,r){if(!e[n]){for(;a<c.length;)s(o,c[a++]);(d=t.createElement(i)).async=1,d.src="https://ialoc.ro/assets/widget-v2/embed.min.js",(r=t.getElementsByTagName(i)[0]).parentNode.insertBefore(d,r),e[n]=o}}(window,document,"script","ialocEmbedWidget",function(e,t){e[t]=function(){e._q.push([t,arguments])}},{_q:[]},"init show hide".split(" "),0);
var widgetOptions = {
    source: 'ialoc-widget-embed',
    locale: 'ro',
    embedMode: 'popup'
};
ialocEmbedWidget.init(widgetOptions);
</script>
Inline Mode Embeds directly in page
<div id="ialocWidgetContainer"></div>
<script type="text/javascript">
!function(e,t,i,n,s,o,c,a,d,r){if(!e[n]){for(;a<c.length;)s(o,c[a++]);(d=t.createElement(i)).async=1,d.src="https://ialoc.ro/assets/widget-v2/embed.min.js",(r=t.getElementsByTagName(i)[0]).parentNode.insertBefore(d,r),e[n]=o}}(window,document,"script","ialocEmbedWidget",function(e,t){e[t]=function(){e._q.push([t,arguments])}},{_q:[]},"init show hide".split(" "),0);
var widgetOptions = {
    source: 'ialoc-widget-embed',
    locale: 'ro',
    embedMode: 'inline',
    venueId: '2566',
    onWidgetReady: function () {
        ialocEmbedWidget.show();
    }
};
ialocEmbedWidget.init(widgetOptions);
</script>
Conversion Tracking Pixel
Basic Code (without tracking):
<script type="text/javascript">
!function(e,t,i,n,s,o,c,a,d,r){if(!e[n]){for(;a<c.length;)s(o,c[a++]);(d=t.createElement(i)).async=1,d.src="https://ialoc.ro/assets/widget-v2/embed.min.js",(r=t.getElementsByTagName(i)[0]).parentNode.insertBefore(d,r),e[n]=o}}(window,document,"script","ialocEmbedWidget",function(e,t){e[t]=function(){e._q.push([t,arguments])}},{_q:[]},"init show hide".split(" "),0);

var widgetOptions = {
    source: 'ialoc-widget-embed',
    locale: 'ro',
    embedMode: 'popup'
};

ialocEmbedWidget.init(widgetOptions);
</script>
Enable Tracking via Callback:

Add a callback function to widgetOptions. This is called after reservation completion and allows you to run conversion code on your site (not in iframe).

Callback receives:
{
    "reservation_hash": "...",
    "reservation_url": "...",
    "reservation_thanks_url": "...",
    "message": "..."
}

reservation_thanks_url does NOT redirect automatically. To redirect: window.location.href = data.reservation_thanks_url;

Complete Example with Tracking:
<script type="text/javascript">
!function(e,t,i,n,s,o,c,a,d,r){if(!e[n]){for(;a<c.length;)s(o,c[a++]);(d=t.createElement(i)).async=1,d.src="https://ialoc.ro/assets/widget-v2/embed.min.js",(r=t.getElementsByTagName(i)[0]).parentNode.insertBefore(d,r),e[n]=o}}(window,document,"script","ialocEmbedWidget",function(e,t){e[t]=function(){e._q.push([t,arguments])}},{_q:[]},"init show hide".split(" "),0);

var widgetOptions = {
    source: 'ialoc-widget-embed',
    locale: 'ro',
    embedMode: 'popup',

    callback: function(data) {
        // Conversion code
        fbq('track', 'Lead');

        // Or: gtag('event', 'conversion', { 'send_to': 'AW-XXXX/abc123' });

        // Optional: log for verification
        console.log('Reservation completed:', data.reservation_hash);
        console.log('Thank you URL:', data.reservation_thanks_url);
    }
};

ialocEmbedWidget.init(widgetOptions);
</script>
Notes:
  • callback runs only after a valid reservation is submitted
  • You can do tracking, redirect, or other actions from the function
  • External libraries (Meta, Google Ads, etc.) must already be loaded on the page