Designer API
Control the Webflow Designer
page.getSearchTitle()
Get the search title of the page.
1page.getSearchTitle(): Promise<string>;
Promise<string>
string
A Promise that resolves to a string value.
1// Get Current Page2const currentPage = await webflow.getCurrentPage() as Page34// Get Search engine title and print details5const searchEngineTitle = currentPage.getSearchTitle()6console.log(searchEngineTitle)
Try this example