Bablic triggers various events on the localized web page. You can receive those events using Javascript on real-time.

Register to event using JS API

Use the bablic.on function to register to any event.

bablic.on('locale',function() { console.log(bablic.getLocale()); });

If you need to register to a Bablic event before the Bablic snippet is loaded you must use Document Events

Did this answer your question?