Content analysis / EDUCATION

Content Analysis Concepts and Use Cases

An educational framework for public HTML content analysis, mention analysis, and sentiment analysis, with DataSEO capability limits stated plainly.

A highlighted passage and annotation sit on a layered translucent document.

Content analysis of public web pages examines the wording and structure in retrieved HTML, then can count defined mentions and apply separate sentiment labels to surrounding text. It supports audits, brand monitoring, and editorial review when rules and denominators are explicit. DataSEO does not currently offer mention or sentiment analysis.

Separate the page, the mention, and the interpretation

Start by separating three questions that are often collapsed into one. First, what does the page itself contain: its title, headings, visible text, links, images, metadata, and other elements present in the delivered HTML? Second, where does a chosen keyword or brand appear, in what exact form, and in what surrounding context? Third, what evaluative direction, if any, does a separate sentiment method assign to that context? Keeping these questions apart prevents a common error: finding a mention does not prove approval, and finding a page in an index does not prove that its wording caused any search outcome. Evidence about web search generally describes crawling, indexing, and serving as separate stages, which reinforces why page content, discovery, and interpretation should be measured independently.

In-depth guide to how Google Search works · DataSEO API contract

What public HTML content analysis can establish

For a public HTML page, the practical unit of analysis is the source you can lawfully retrieve and inspect. Record the final URL, retrieval date, response status, content type, size, and the exact bytes or text snapshot used for analysis. Then extract structured observations: page title, headings in order, paragraphs, list items, anchor text, image attributes, canonical or language hints when present, and any repeated phrases. This is descriptive work. It answers whether specific wording exists and where it sits on the page. It does not by itself establish that a search engine rendered scripts, loaded resources, indexed the page, or displayed it for a query. That distinction matters for DataSEO because its page analysis is explicitly public HTML up to 2 MB with no JavaScript rendering or external resources.

DataSEO API contract

Mention analysis: define the target before counting

Mention analysis is narrower than page analysis. A mention study begins with a defined target, such as a brand name, product name, person, or phrase, and rules for matching. Specify case sensitivity, punctuation, spacing, possessives, abbreviations, misspellings, and whether substrings count. For example, decide before counting whether helmets counts as a mention of helmet, and whether a URL slug counts in the same way as body text. Record each hit with its URL, location on the page, exact matched string, and a short context window. Report both raw counts and rates, such as mentions per 1,000 words, because a long page will usually accumulate more hits than a short page. One provider's educational overview describes mention or citation discovery as a way to find references to a target keyword or brand and to examine sentiment around them, but that describes that provider's product, not a DataSEO service. Treat external workflow ideas of this kind as design guidance only.

Content Analysis API: Overview · DataSEO API contract

Sentiment analysis: labels are a method choice, not a fact on the page

Sentiment analysis adds an evaluative judgement to text. The minimum design choice is whether to use a simple polarity, such as positive, negative, or neutral, or a richer set of connotations. External provider documentation gives an example of polarity plus connotations such as anger, happiness, love, sadness, desire to share, and fun, but those labels and their definitions belong to that provider's implementation and should not be imported as DataSEO behaviour or as universal definitions. For your own educational workflow, document the unit being judged, such as a sentence, paragraph, page, or whole site; the label set; treatment of negation and sarcasm; and how mixed or uncertain cases are handled. Do not average labels into a score until you have stated what the score means. A page can contain a positive quoted reviewer sentence, a negative company reply, and neutral product facts; calling the whole page positive without preserving those segments hides the decision that matters.

Content Analysis API: Overview

Hypothetical worked example with transparent arithmetic

A small hypothetical example shows the arithmetic. Suppose you collect four public pages about a fictional product, TrailPack, and your mention rule counts case-insensitive whole-word matches of TrailPack in body text only. You find 6 mentions on Page A, 2 on Page B, 0 on Page C, and 4 on Page D. The total is 6 + 2 + 0 + 4 = 12 mentions. If the four pages contain 2,000 words in total, the rate is 12 / 2,000 x 1,000 = 6 mentions per 1,000 words. Now suppose a separate, hypothetical sentiment pass labels each mention's sentence as positive, negative, or neutral: 7 positive, 3 negative, and 2 neutral. The shares are 7 / 12 = 58.3% positive, 3 / 12 = 25.0% negative, and 2 / 12 = 16.7% neutral. Those percentages describe labelled sentences in this invented sample only. They do not show that customers like TrailPack, that search users prefer it, or that DataSEO produced the labels. If three of the positive sentences come from one syndicated press release repeated across pages, deduplication could change the result materially, which is why source grouping must be recorded before percentages are quoted.

Content Analysis API: Overview

Failure and measurement risks to manage explicitly

The main failure modes are sampling, rendering, matching, duplication, and interpretation. A sample of pages you can access is not the web, and a sample of search results is not a representative sample of opinion. Raw HTML may omit script-generated text because the page was not rendered, while a browser view may include text that is absent from the source; those are different objects and should never be silently substituted for each other. Matching rules can overcount substrings or undercount variants. Duplicate or syndicated text can inflate both mention counts and sentiment shares. Finally, sentiment labels are measurement outputs with error, especially for sarcasm, quotations, questions, and domain-specific language. The safe response is not to abandon the work, but to publish the rulebook, the snapshot date, the denominator, and the exclusions alongside any number. For DataSEO specifically, also check the response properly: a transport success alone does not establish usable results, so inspect the HTTP response first, then the task status and items before reading page metadata or checks.

DataSEO API contract · In-depth guide to how Google Search works

Reader checklist before you act

Use this checklist before acting on any content, mention, or sentiment result. One, state whether the claim is about page content, mentions, or sentiment, and do not let one stand in for another. Two, save the URL list, retrieval timestamps, response status, page size, and the exact text or HTML snapshot used. Three, write the mention rule, including case, punctuation, substring, and URL or navigation-text treatment. Four, report denominators with every rate, and separate raw counts from percentages. Five, create a small labelled sample and inspect disagreements before trusting aggregate sentiment shares. Six, deduplicate syndicated or copied text and show results both before and after deduplication when duplication is material. Seven, record rendering assumptions: raw HTML, rendered browser text, or both kept separate. Eight, confirm product capability before implementation: for DataSEO, page analysis is limited to public HTML up to 2 MB with no JavaScript rendering or external resources, and there is no DataSEO mention or sentiment operation to call. If a workflow needs external mention or sentiment data, label it as external design guidance and verify the actual provider's current documentation and terms separately.

DataSEO API contract · Content Analysis API: Overview · DataSEO MCP tools

Bottom line

The practical conclusion is modest. Public HTML content analysis can give you a defensible inventory of wording and structure on pages you retrieved. Mention analysis can turn a target string into reproducible counts and context records if the matching rules are fixed in advance. Sentiment analysis can add a labelled interpretation layer, but only as transparent as its label definitions, unit of analysis, and error handling. None of those steps, alone or together, proves search visibility, user satisfaction, or commercial impact. Keep the evidence, the arithmetic, and the capability boundary together, and the conclusions will stay within what the data can actually support.

DataSEO API contract · In-depth guide to how Google Search works

Limits and interpretation

  • This guide does not define proprietary sentiment models, mention-matching rules, or provider-specific taxonomies.
  • It does not claim DataSEO collects external mention or sentiment datasets.
  • A public HTML analysis result should not be mistaken for search indexing, ranking, or user-sentiment measurement.

Sources and verification

Reviewed against first-party documentation and the current DataSEO implementation. Worked scenarios are illustrative unless explicitly identified otherwise. Reviewed 14 November 2026.

  1. Content Analysis API: Overview
  2. DataSEO API contract
  3. DataSEO MCP tools

Keep building