0
0
SeoHow-ToBeginner · 3 min read

Types of Search Intent: Understanding User Goals in SEO

Search intent refers to the reason behind a user's online search and is mainly categorized into four types: informational (seeking knowledge), navigational (looking for a specific site), transactional (aiming to buy or complete an action), and commercial investigation (researching before purchase). Understanding these helps tailor content to meet user needs effectively.
📐

Syntax

Search intent types can be represented as categories to classify user goals:

  • Informational: User wants to learn or find information.
  • Navigational: User wants to visit a specific website or page.
  • Transactional: User intends to complete a purchase or action.
  • Commercial Investigation: User is researching products or services before buying.
python
search_intent = {
    "informational": "seeking knowledge or answers",
    "navigational": "looking for a specific website or page",
    "transactional": "ready to buy or perform an action",
    "commercial_investigation": "researching before purchase"
}
💻

Example

This example shows how to classify a search query by intent using simple keyword checks.

python
def classify_search_intent(query):
    query = query.lower()
    if any(word in query for word in ["how", "what", "why", "guide", "tutorial"]):
        return "informational"
    elif any(word in query for word in ["buy", "discount", "price", "order"]):
        return "transactional"
    elif any(word in query for word in ["review", "compare", "best"]):
        return "commercial_investigation"
    elif any(word in query for word in ["facebook", "youtube", "login"]):
        return "navigational"
    else:
        return "unknown"

# Example queries
queries = [
    "how to bake a cake",
    "buy running shoes",
    "best smartphones 2024",
    "facebook login page"
]

for q in queries:
    print(f"Query: '{q}' -> Intent: {classify_search_intent(q)}")
Output
Query: 'how to bake a cake' -> Intent: informational Query: 'buy running shoes' -> Intent: transactional Query: 'best smartphones 2024' -> Intent: commercial_investigation Query: 'facebook login page' -> Intent: navigational
⚠️

Common Pitfalls

One common mistake is confusing commercial investigation with transactional intent. Users researching products are not always ready to buy immediately. Another pitfall is ignoring navigational intent, which can lead to missing traffic from users looking for specific brands or sites.

Also, assuming all queries with keywords like "buy" are transactional can be wrong if the user is still comparing options.

python
def wrong_classification(query):
    # Incorrectly treats all queries with 'buy' as transactional
    if "buy" in query.lower():
        return "transactional"
    return "unknown"

# Correct approach includes more context checks

def correct_classification(query):
    query = query.lower()
    if any(word in query for word in ["review", "compare", "best"]):
        return "commercial_investigation"
    elif "buy" in query:
        return "transactional"
    return "unknown"
📊

Quick Reference

Search Intent TypeUser GoalExample Query
InformationalFind information or answers"how to tie a tie"
NavigationalGo to a specific website or page"twitter login"
TransactionalMake a purchase or complete an action"buy laptop online"
Commercial InvestigationResearch before buying"best smartphones 2024"

Key Takeaways

Search intent guides what users want to achieve with their queries.
The four main types are informational, navigational, transactional, and commercial investigation.
Correctly identifying intent helps create content that matches user needs.
Avoid mixing commercial investigation with transactional intent.
Consider context and keywords carefully to classify intent accurately.