We automatically detect users on IOS or Android and redirect them to the mobile interface if they happen to land on:
- Your own domain name where the Wazala widget using the unchanged Wazala red button is live.
- Your own domain with any type of Wazala widget if you have added the mobile detection code that is available below.
So if you're using your own custom button in overlay or embedding the widget, you need to add a simple line to your Wazala widget code that will detect a mobile browsing and redirect to the Wazala mobile experience, Wazala Touch.
This will send your customers to storename.wazala.com to experience the mobile version.
The line to add is:
store_widget_options.mobileRedirect = true;
This line needs to be added right before this line of code:
var store_widget = new WazalaWidget.widget(store_widget_options);