SEOKeywords.getStatisticsForObject (Method)

Returns the keyword statistics as it appears in the HTML content of the specified page. Eg: BODY tag, H1 tag, etc.

Returns:

SEOKeywords_GetStatisticsForObject_Results (query)

Each row of the returned query results has the following fields:

Field Name Type Description
InBodyTag NonNegativeInteger Appearance in page' body.
InH1Tag NonNegativeInteger Appearance in H1 tags.
InImgAltText NonNegativeInteger Appearance in image's ALT text.
InMetaDescription NonNegativeInteger Appearance in META description.
InTitle NonNegativeInteger Appearance in page's title.
InURL NonNegativeInteger Appearance in page URL.
Keyword SEOKeyword The SEO keyword.

Arguments:

Name Type Required Description
objectID RealPageID_UploadedDocID_NonBaseTemplate Required The unique ID of the page or uploaded document to get results for.
keyword SEOKeyword_EmptyString Optional. Defaults to an empty string. The SEO keyword to get the statistics for which to get the statistics for, an empty string will get the statistics for all the targeted SEO keywords.

Context:

License Requirements SEO
Permission Requirements ContributorOrServerCode
Deny Context (none)
Require Context Authoring
Author Lock  

Error Codes:

None

Notes:

None