Meta description is the short text that appears below each link when we search on Google, for example. Its main purpose is to entice users to click on the link. In other words, to convince them that the content presented is relevant and that the site is worth a visit.
As many potential customers can find your business through search engines, it is essential to maintain a good meta description for each page of your site. This task, however, is not always possible: as the site scales, it becomes difficult to keep track of these small details on each page. In addition, creating meta descriptions manually for each of the 300 pages on a site, for example, is often impractical.
Today, however, we have an extremely useful tool: AI! Imagine if you could simply create a script that automatically adds well-crafted meta descriptions to all your pages. That's what we're going to do together today! Let's go:
In this tutorial, we will use Python to create the scripts, AI21 Labs and the CMS used will be Hubspot. But you can apply the idea using other programming languages, as well as other AI tools and CMS.
NOTE_1: You can copy-paste the code from this GitHub repository.
NOTE_2: If you prefer, I've created a step-by-step tutorial on YouTube:
Done, meta descriptions duly added! See you next time! ✨