Hash paths

This page explains how Bubi Widgets use Hash paths

When using Bubi Widgets, the widget may need to load another depending on user actions, and in order to maintain status in case the user refreshes the page or shares a link to the page with a friend, the widgets need to keep track of navigation status in the URL.

Since the widget are intended to run in partners website and where paths are controlled by the CMS application used by the partner (for example Word Press), Bubi Widgets rely on hash paths to keep track of the navigation status in a URL. For example a URL using Bubi widgets may look like this:

https://www.example.com/bookings#/online-booking/search?d=13032020&f=9&t=12&n=2&p=&r=

The path segment of the URL (/bookings) can be the path of a CMS page served by the partner's CM application which hosts the online booking widget. The segment after the hash tag (#/online-booking/search?d=13032020&f=9&t=12&n=2&p=&r=) is the path used by the widget to keep track of the user navigation within the widget itself.

Last updated

Was this helpful?