setStructuredData( )


Sets the page's structured data.

The structured data on your page helps search engines understand more about your page and your business so they can display a richer snippet of your pages in search results.

The structured data you set overwrites any structured data information set earlier.

Note: You should always set the structured data inside the onReady() event handler to ensure search engines can read it.

Method Declaration
Copy
Method Parameters
structuredDataArray<object>Required

List of structured data objects in the JSON-LD format as defined by schema.org.

Was this helpful?
Yes
No