Sub topic 13
Labeling a Keyword List for Content Planning
This chapter assumes you know the four intent types and how to read a query and a results page for intent. It also assumes you can read short Python scripts. Here you will turn a raw list of keywords into a labeled sheet that a content team can plan from.
Why label a list
A single keyword is easy to classify by hand. A list of 500 is a different job. Without a shared format, each person labels differently and the decisions are lost. A labeled sheet records each decision once, with the evidence for it. That lets a writer, an editor, and a strategist reach the same conclusion about what to publish.
A good label does three things:
- It states the intent in one fixed vocabulary.
- It names the page type that fits the intent.
- It records why, so a reviewer can check the call.
Decide the columns first
Pick the columns before you label anything. Changing them halfway means relabeling everything. A workable minimum is below.
| Column | Purpose | Example value |
|---|---|---|
| keyword | The query exactly as searched | best project management software |
| intent | One of informational, navigational, commercial, transactional, unclear | commercial |
| page_type | The page format that fits the intent | comparison or listicle |
| notes | The evidence behind the label | SERP shows reviews and roundups |
Add columns such as search volume, current ranking URL, or priority later, once the first four are stable. Use a closed list of values for intent and page type. If one person writes "info" and another writes "informational", filters and pivot tables will split them into two groups.
The labeling workflow
Labeling works best as two passes. A rule-based pass is fast and cheap but sometimes wrong. A human pass checks the results page and fixes the mistakes.
A sample labeled sheet
This is a small sheet in the format described above. Note that the last row is unclear. The sheet should show uncertainty as it is, not hide it behind a guess.
keyword,intent,page_type,notes
what is search intent,informational,blog guide,SERP shows articles and a definition box
slack login,navigational,brand login page,Searcher wants one specific site
best project management software,commercial,comparison or listicle,SERP shows reviews and roundups
buy standing desk,transactional,product or category page,SERP shows shopping results and store pages
standing desk,unclear,check SERP before choosing,Results mix guides and productsAutomate the first pass
The script below applies the keyword rules to a sheet and flags the rows that need a human. The rules are the ones from the earlier classifier chapter. The script adds a page type for each intent and a flag for unclear rows. It runs as shown with Python 3.
import csv
import io
import re
import sys
COMMERCIAL = ["best", "top", "review", "reviews", "vs", "compare", "comparison", "alternative", "alternatives"]
TRANSACTIONAL = ["buy", "order", "coupon", "discount", "download", "sign up", "free trial", "near me"]
INFORMATIONAL = ["what", "why", "how", "guide", "tutorial", "examples", "meaning", "definition"]
PAGE_TYPES = {
"informational": "blog guide",
"navigational": "brand page",
"commercial": "comparison or listicle",
"transactional": "product or category page",
"unclear": "check SERP before choosing",
}
SHEET = """keyword,volume
what is search intent,900
slack login,5400
best project management software,2400
buy standing desk,1300
standing desk,8100
"""
def has_term(query, terms):
return any(re.search(r"\b" + re.escape(t) + r"\b", query) for t in terms)
def classify(query, brands):
q = query.lower().strip()
if has_term(q, COMMERCIAL):
return "commercial"
if has_term(q, TRANSACTIONAL):
return "transactional"
if has_term(q, INFORMATIONAL):
return "informational"
if has_term(q, brands):
return "navigational"
return "unclear"
def label_rows(text, brands):
rows = []
for row in csv.DictReader(io.StringIO(text)):
intent = classify(row["keyword"], brands)
row["intent"] = intent
row["page_type"] = PAGE_TYPES[intent]
row["needs_serp_check"] = intent == "unclear"
rows.append(row)
return rows
if __name__ == "__main__":
labeled = label_rows(SHEET, ["slack", "github"])
fields = ["keyword", "volume", "intent", "page_type", "needs_serp_check"]
writer = csv.DictWriter(sys.stdout, fieldnames=fields, lineterminator="\n")
writer.writeheader()
writer.writerows(labeled)Running it prints this:
keyword,volume,intent,page_type,needs_serp_check
what is search intent,900,informational,blog guide,False
slack login,5400,navigational,brand page,False
best project management software,2400,commercial,comparison or listicle,False
buy standing desk,1300,transactional,product or category page,False
standing desk,8100,unclear,check SERP before choosing,TrueThe highest-volume row, standing desk, is the one the rules cannot label. This is common. Short, generic head terms often have mixed intent, so they deserve your closest look.
Know what the rules get wrong
The rules check words, not meaning. Two failures are worth knowing before you trust the output.
- Rule order decides ties. The query
how to download slackmatches both a transactional word (download) and an informational word (how). The script checks transactional first, so it labels the query transactional. Most searchers want instructions, so the correct label is probably informational. - Brand lists go stale. A brand missing from the list gives
unclearor, worse, a wrong label from another rule. Update the list for each client.
Treat the script as a sorting aid. Its job is to shrink the pile that a person must read, not to make the final decision.
Verify with the results page
For each unclear row, and for a random sample of the others, run the same check every time. Using a fixed checklist keeps different reviewers consistent.
SERP check for a keyword:
1. Search the keyword in a private browser window.
2. Note the dominant result type: guides, product pages, comparisons, or a single brand site.
3. Note SERP features: definition box, shopping results, reviews, sitelinks, local pack.
4. Pick the intent that most top results satisfy.
5. If results are split, record the keyword as mixed and list the two main intents.A sample of about 10 to 20 percent of the confident rows is a reasonable audit. If more than a few of them are wrong, fix the rules and rerun the pass instead of correcting rows one at a time.
Record mixed intent honestly
When the results page is split, do not force one label. Two options work well in a sheet:
- Add a
secondary_intentcolumn, and fill it only for mixed keywords. - Keep one primary intent and describe the split in
notes, for example "guides in the top three, store pages below".
Write the primary label from the intent of the top results, not from what you want to sell. Then decide whether to cover both intents on one page or to publish two pages. The sheet only needs to record what you saw.
Use the labels for planning
Once the sheet is stable, the labels become filters for planning work.
- Group by page type. Each group is a content backlog: guides, comparisons, product pages, brand pages.
- Find duplicates. If two keywords have the same intent and nearly the same results, they probably belong on one page. If they share words but differ in intent, they need separate pages.
- Check coverage. Compare the labeled sheet to your existing pages. A commercial keyword with only a blog guide ranking for it is a gap.
- Order the work. Sort by volume within each group, then by how close the intent is to your product.
The same sheet supports the buyer-journey view. Informational rows tend to sit early in the journey, commercial rows in the middle, and transactional rows near the end. Navigational rows depend on whose brand is named.
Common errors in keyword sheets
| Problem | Effect | Fix |
|---|---|---|
| Free-text intent values | Filters and counts split | Use a closed list |
| Labels with no notes | Reviewers cannot check the call | Always record the evidence |
| One label for a split SERP | Wrong page type gets planned | Mark mixed intent and note both |
| Rules never re-tested | Mislabels accumulate | Spot check each run and update rules |
| Labeling from wording alone | Misses what Google actually ranks | Confirm with the SERP check |
Exercise
The script labels the query "how to download slack" as transactional. Explain why, say which label is more likely correct, and describe one change that would fix the rule.
Show answer
The script checks transactional terms before informational ones. "download" is a transactional term, so the query is labeled transactional before "how" is considered. Most people typing this query want instructions, so informational is more likely correct, and a SERP check would confirm it. One fix is to check informational terms first for queries that begin with "how", or to add an override list of known phrases. The change should be tested on the rest of the sheet, since moving informational ahead of transactional can mislabel queries such as "download guide".
Exercise
In your labeled sheet, the keyword "standing desk" has a split SERP with guides and product pages. What do you record, and why not pick one intent and move on?
Show answer
Record the intent as unclear or mixed, with the primary intent taken from the top results, and put the split in the notes or in a secondary_intent column. Forcing one label hides the split, so the planner might build only a sales page or only a guide and miss half the searchers. Recording the split lets the team choose between one page that serves both or two separate pages.