Designer API
Control the Webflow Designer
page.usesTitleAsSearchTitle()
Check if the page uses the page title as the search title.
1page.usesTitleAsSearchTitle(): Promise<boolean>;
Promise<boolean>
boolean
A Promise that resolves to a boolean value.
1// Get Current Page2const currentPage = await webflow.getCurrentPage()34// Check title5const usesTitle = await currentPage?.usesTitleAsSearchTitle()67if (usesTitle){8 console.log('This page uses its Title as the Search Engine title')9} else {10 console.log( "This page has a custom search engine title")11}
Try this example