Thursday, November 21, 2024
spot_img

Top 5 This Week

Related Posts

How to write title tags for SEO with ChatGPT

ChatGPT can be helpful for many SEO-related functions, including but not limited to local SEO, keyword research and SEO-focused content creation.

Title tags are another area the platform can help you with. Even if Google doesn’t always use them, title tags are still a critical on-page SEO element.

Even Google’s John Mueller acknowledged that ChatGPT could be helpful for creating page titles.

This article examines how ChatGPT and the ChatGPT API can help you create compelling, clickable title tags.

Before we dive in, keep the following caveats in mind:

  • The quality of your prompts will largely determine the quality of your responses.
  • ChatGPT is not an SEO tool, so it’s not explicitly designed to create SEO-friendly title tags.
  • You must always review and QA the tool’s output (it can often be wrong!).
  • The platform has a rough sense of text output and characters but doesn’t necessarily observe them precisely – an important point for title tag creation or editing. 
  • ChatGPT will only “remember” around 3,000 words of your chat.
  • The ChatGPT API won’t remember anything else but the prompt you’re applying at that moment and often ignores system messages.
  • You cannot fine-tune the ChatGPT API, but you can fine-tune the OpenAI API (which is more expensive than the ChatGPT API). 

For this article, I’ll focus on tasks you can do using either the ChatGPT web interface or the API. But you can extrapolate some of these and imagine how they may work with the Da-Vinci API or future versions of the ChatGPT API.

Getting better title tags from ChatGPT

Let’s start by having the tool help me rewrite a title tag using some best practices.

If you have your own process, you can implement that. In this case, I will try to get ChatGPT to rewrite my title tags “like a pro.”

First, I’m going to take an article by Ross Hudgens at Siege Media about SEO title tag best practices and have ChatGPT analyze it:

ChatGPT prompt - title tag best practicesChatGPT prompt - title tag best practices

Next, I looked at the search results for “best beach wedding dresses” and grabbed a listing by David’s Bridal (just because it was ranking in the middle of the first page) and asked ChatGPT to rewrite their title tag:

David's Bridal - best beach wedding dressesDavid's Bridal - best beach wedding dresses

And here is what ChatGPT came up with after sharing the article and the title tag:

ChatGPT output title tagChatGPT output title tag

Pretty interesting!

Let’s try the same thing, but this time with a different title tag process from Mike at Niche Twins:

Same approach here, I created a new chat (again: ChatGPT’s short memory!) and pasted in the contents of the thread and then asked ChatGPT to generate a new title tag based on Mike’s process:

ChatGPT output title tag - dream dressChatGPT output title tag - dream dress

ChatGPT does seem to have used a formula more in-line with the source, but it used a variation of “dream dress” again.

I’d opened a new chat for this prompt, so ChatGPT shouldn’t have used my previous prompt or result as context.

I asked it why it chose that term:

ChatGPT - dream dress promptChatGPT - dream dress prompt

Optimizing prompt character counts: Summaries are your friend

OK, so how about if we want to have ChatGPT ingest a long article (or multiple) and optimize multiple title tags?

Hudgens’s article was around 2,500 words, so we’ll be hitting up against the word and token limit of what ChatGPT actually remembers pretty quickly.

A good workaround is to get ChatGPT to summarize the article(s) and then use the summaries in place of the entire article (obviously, if there are some items you want to make sure are included, you may want to do the summarizing by hand):

Optimizing prompt character counts with summariesOptimizing prompt character counts with summaries

Note that I will also create a new chat for each summary and a new chat once I’m ready to have ChatGPT write my title tags so that I can conserve “character memory.”

The summary ChatGPT generated in this case was 159 words. Here is the summary it came up with:

ChatGPT - summaries outputChatGPT - summaries output

I created a new chat and shared the summary, then asked ChatGPT to rewrite the same title tag:

ChatGPT - rewrite title tagChatGPT - rewrite title tag

What jumps out here is that ChatGPT came up with a different title tag based on its own summary of the article versus the article itself as the prompt.

I wanted to try one more prompt here to see how it impacted the output, so I created a new chat and asked ChatGPT to summarize the article again, but this time to pull out the main best practices and create a bulleted list.

I created a new chat and fed ChatGPT its bulleted summary. It gave me another title tag idea and, this time, walked me through its process.

ChatGPT - bulleted summariesChatGPT - bulleted summaries

You want to be careful how much you trust ChatGPT’s summaries. But if I had gone through this exact process and were optimizing this URL’s title tag, I’d have some pretty interesting ideas to test.

Along those lines, I could take a summary here and get ideas for multiple URLs based on these best practices.

Get the daily newsletter search marketers rely on.


See terms.


Write title tags like your competitors

Let’s imagine Brides.com is crushing me in search results, and I want to test taking their approach to writing title tags for my pages. I can ask ChatGPT to give that a try:

ChatGPT - competitor title tagsChatGPT - competitor title tags

And get a different idea:

ChatGPT - competitor title tags analysisChatGPT - competitor title tags analysis

ChatGPT is right: this is a straightforward example, but you get the idea.

You could also apply this same approach to a site that’s not a competitor but a site you admire.

If you know they have great title tags or that they test them frequently, you could use the same approach here and get ideas specific to your site using a similar approach.

Write title tags based on the search results

Instead of looking at one competitor, you could look at several. Namely all of the sites in a search result.

I asked ChatGPT to analyze the search result and come up with another new idea for David’s Bridal based on what’s ranking in their search result:

ChatGPT - title tags from search resultsChatGPT - title tags from search results

ChatGPT gave me a few different ideas:

ChatGPT - title tags from search results - outputsChatGPT - title tags from search results - outputs

Write title tags tailored to your content

Another approach is obviously to summarize some content and ask ChatGPT to write a title tag for that content:

ChatGPT - title tag tailored to contentChatGPT - title tag tailored to content

And here’s ChatGPT’s recommendation based on the content on the David’s Bridal page:

ChatGPT - title tag recommendationChatGPT - title tag recommendation

You could also marry these two approaches, feeding ChatGPT some title tag best practices and content and then asking for title tag ideas based on the topic of your article or page.

Title tag formulas and ChatGPT API

The web interface is probably your best bet if you want to use lengthier best practices and lots of context or content to inform your title tags.

But if you want to apply a formula or a short set of best practices to several title tags, the ChatGPT API can be a great tool.

You can link the ChatGPT API to your Google Sheet as outlined here, and then could take your own best practices (or something you just found a competitor doing, or something you just pulled from an article) and rewrite multiple title tags at once:

Title tag formulas and ChatGPT APITitle tag formulas and ChatGPT API

I had some issues with the API adding quotation marks to the output here and writing very long titles. 

By keeping a close eye on the output and playing with the prompts, I eventually got some new shorter title tag ideas.

Create specific types of title tags

If you have some specific types of title tags you know have worked in the past, you can have ChatGPT apply that approach to specific titles you want to be rewritten.

To test these out, let’s implement some tactics outlined in this Moz article on title tag “hacks.”

Curiosity gap

This may not work for every title tag or on the first try. Here’s our beach dress term rewritten using the curiosity gap:

ChatGPT prompt - Curiosity gapChatGPT prompt - Curiosity gap

Questions

Here it is again with a new chat as a question:

ChatGPT prompt - QuestionsChatGPT prompt - Questions

Dates and numbers

Here it is again using dates and numbers:

PsMbU8aDWqY GoEYcu0 QBlUenMHW7uMBdiIFJ0Zl330jYzAk6cx4dKODj4x7 VXqpFg3U0ILLzKOeuMPGc ZlMQWbvmyxryes I8dHFh8Z1vT6zXBMuaTKxtvInQWtOr5rsrz1GaPGdeLyrIm7AknEPsMbU8aDWqY GoEYcu0 QBlUenMHW7uMBdiIFJ0Zl330jYzAk6cx4dKODj4x7 VXqpFg3U0ILLzKOeuMPGc ZlMQWbvmyxryes I8dHFh8Z1vT6zXBMuaTKxtvInQWtOr5rsrz1GaPGdeLyrIm7AknE

Call to action

And here, we incorporated a call to action:

ChatGPT prompt - CTAChatGPT prompt - CTA

Again it’s worth noting that I got different output formats using similar prompts each time. 

It’s also striking how short these title tags are with minimal instruction. 

In contrast, the title tag suggestions generated by the ChatGPT API in Google Sheets were often very long. I had to use multiple prompts to get a response with anything less than 70 or 80 characters. 

ChatGPT is getting the character counts in parenthesis right!

Here’s what ChatGPT had to say for itself on the matter:

ChatGPT character countsChatGPT character counts

This is very important to note. The more complex your prompt, the less likely ChatGPT is to observe character limits. This is a difficulty of the API since you don’t have the 3,000-word context you do in chat.

Title tag brainstorms

If you want to set up a testing framework to run through multiple possible title tag formulas or ideas (or if you want a big list of possible page titles), you could also mash up a few ideas for a big brainstorm.

By shortening up our earlier inputs with summaries, I can create a series of prompts where ChatGPT will remember all of the title tag approaches we’ve encountered here:

  • Hudgens’s best practices.
  • Mike’s title tag process.
  • The title tags of sites ranking in the same search result.
  • The approach of Brides.com.
ChatGPT - title tag brainstormsChatGPT - title tag brainstorms

Not all of these will be winners. Despite my prompt, some are similar. But if I were looking for test ideas for a batch of wedding dress pages, I could likely find many here to test.

I can also go back to the different types of title tags from the last section of the article and ask ChatGPT to come up with a bigger list of ideas based on those title tag types:

ChatGPT - big list of title tagsChatGPT - big list of title tags

Leverage your own data

Beyond just getting general ideas, you could use your data to have ChatGPT help with title tags in a few different ways:

  • Make predictions: If you’ve run a series of title tag tests, try sharing the results with ChatGPT, then ask it to write a title tag for a new page based on those results.
  • Find gaps: Look at your Search Console data and find the queries with low click-through rates. Ask ChatGPT for ideas to rewrite the title tag to increase CTR for those terms.
  • Look for SERP features: Use third-party tools to see keywords you’re ranking well for with SERP features that you aren’t getting. Share some of the typical best practices for getting those SERP features and the title tag of the site that is ranking, and ChatGPT for ideas on how to rewrite your title tag to be more like the titles that are ranking.

As with tasks like keyword research, often the best use for ChatGPT when it comes to title tags is around ideation and inspiration. 

Be creative about how to leverage it, always check the output of the tool manually and run your tests. All this could give your title tags a major boost.


Contributing authors are invited to create content for Search Engine Land and are chosen for their expertise and contribution to the search community. Our contributors work under the oversight of the editorial staff and contributions are checked for quality and relevance to our readers. The opinions they express are their own.


Popular Articles