Thursday, 21 Nov 2024

How to write title tags for SEO with ChatGPT

Learn how ChatGPT and the ChatGPT API can help you create compelling, clickable title tags.

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:

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:

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):

Get the daily newsletter search marketers rely on.


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 tags

And get a different idea:

ChatGPT - 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 results

ChatGPT gave me a few different ideas:

ChatGPT - 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:

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:

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 gap

Questions

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

ChatGPT prompt - Questions

Dates and numbers

Here it is again using dates and numbers:

PsMbU8aDWqY GoEYcu0 QBlUenMHW7uMBdiIFJ0Zl330jYzAk6cx4dKODj4x7 VXqpFg3U0ILLzKOeuMPGc ZlMQWbvmyxryes I8dHFh8Z1vT6zXBMuaTKxtvInQWtOr5rsrz1GaPGdeLyrIm7AknE

Call to action

And here, we incorporated a call to action:

ChatGPT 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 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 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 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.