Cookies disclaimer

I agree Our site saves small pieces of text information (cookies) on your device in order to deliver better content and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By browsing our website without changing the browser settings you grant us permission to store that information on your device.

H2 (Second) Data

H2 (Second)

H2 (Second)
Values Returned
Examples of How H2 Header Tag Data is Used
- Example 1: Content Per Header
- Example 2: Header Keyword Optimisation
- Example 3: Incorrect Usage
- Example 4: Competitor Analysis
What We Do & What We Give You
Related Content
Benefits of Our Data


H2 (Second)

The second H2 header from each HTML page.

Although not as influential as a H1 header, H2 headers are still a ranking factor that can be optimised for SEO. Furthermore, H2 headers are subject to structural rules that H1 headers often do not suffer from.

Raptor’s web scraper (Raptorbot) extracts all H2 headers from accessible HTML/Text webpages, and we return the content / text contained in that header. This can often highlight that multiple H2 headers have been used on a single page. This is quite commonplace and is completely legitimate.


Values Returned

Within the column for ‘H2 (Second), the options for the values we would return in the fields / cells are as follows:

Some Text

This is the text we identified in the H2 header


There is a H2 header, but the txt is missing


When there Is no H2 header tag present


When there is a H2 header, but the tag is incorrectly implemented or broken


Examples of How H2 Header Tag Data is Used

There are various reasons why you would want to look at H2 header data, we have set out some examples below.


Example 1: Content Per Header

For a page to have more than 4-5 H2 headers, one would expect there to be significant content on these pages. Using the word count of the headers, the word count of the page, and the total number of headers… We can calculate some interesting data:

(Word count – Word Count of Headers) / Number of headers = Content per header

You can sure this data up by removing estimated word counts from templated regions like menus. You can perform this on each page to identify pages with thin content per header or look at the site to get a more holistic perspective.


Example 2: Header Keyword Optimisation

You can use this data in conjunction with other H2 data to audit a site for keyword targeting opportunities. By exporting all H2 data, you can review which are optimised and which are not, and ultimately remap new keywords to these SEO on-page components.


Example 3: Incorrect Usage

Raptor provides you with enough H2 Header data to review and assess whether a site has any of the following problems:

  • Incorrectly header structure
  • H2 headers used to style content
  • Content structure issues
  • Header hierarchy structure issues


Example 4: Competitor Analysis

If you take advantage of Raptor’s full functionality you can use the website crawler to crawl competitor sites. Analysing this data can reveal the keywords they target as well as the content structure.


What We Do & What We Give You

We scrape this from the second <h2> tag we find on a page. Scraping the contents of this tag, for example if we found this second H2 tag on a page:

<h2>example header</h2>

The data / text we would show in field would be “example header”.

We scrape pages from top to bottom, and this reflects the order with which we determine what header is second to last.

Looking at you competitor H2 headers can also help to reveal their keyword strategy, removing brand names, or separating the data can be a quick way of compiling a keyword list. H2 headers often include variants of the primary keywords targeted by a page. S such they can provide a wealth of competitive data.


Related Content

The list of guides below might be useful if you are analysing this data and want to know more about it:

Related column headers in Raptor website crawler reports:


Benefits of Our Data

There are several benefits to analysing all the H2 header data, such as those listed below:

  • Optimise H2 headers for SEO
  • Use Raptor to map H2 Headers
  • Fix H2 headers with issues
  • Identify structural problems with your headers
  • Audit a site’s H2 headers
  • Scrape competitor h2 headers


Sign up Now for a Free 30-Day Trial. Audit H2 headers on your site and much more!