ft:pageopening - Fluid Topics - 3.5 - Technical Notes

Integrate Fluid Topics APIs

Product
Fluid Topics
FT_Version
3.5
Category
Technical Notes
language
English
audience
public

The ft:pageopening event is sent when the user navigates to a new page of the web application. The following lines show an example of how to use the ft:pageopening event:

document.addEventListener('ft:pageopening', function(event){
if (window.location.href.endsWith('/home')){
window.alert('Welcome to Fluid Topics');
}
});