page.getSearchTitle()

Get the search title of the page.

Syntax

1page.getSearchTitle(): Promise<string>;

Returns

Promise<string>

A Promise that resolves to a string value.

Example

1// Get Current Page
2const currentPage = await webflow.getCurrentPage() as Page
3
4// Get Search engine title and print details
5const searchEngineTitle = currentPage.getSearchTitle()
6console.log(searchEngineTitle)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canReadPageSettingsAnyAnyAnyAny
Built with