Turn Site Searches into Content Ideas with Burst Statistics and AI
Find what visitors search for and don't find on your site, and get draft posts for the gaps you pick.
Prerequisites
A site connected to WPVibe as an administrator, running Burst Statistics 3.7.4 or newer (tested on the free 3.7.4) on WordPress 6.9 or newer, with Burst, Settings, Advanced, Enable Abilities API turned on (it is off by default).
My WordPress site uses Burst Statistics. Find what visitors search for on my site and don't find, and draft posts for the best gaps. Save them as drafts, don't publish. 1. Run discover_abilities with category burst-statistics. If no burst abilities are listed, stop and tell me to install or update Burst Statistics (free or Pro, 3.7.4 or newer, on WordPress 6.9 or newer) and turn on Burst, Settings, Advanced, Enable Abilities API, which is off by default. If burst/settings is not in the list, Burst is older than 3.7.4, whose abilities can return rows without the page or referrer: tell me to update Burst Statistics, then stop. If a burst ability answers that I am not allowed, tell me WPVibe must be connected as an administrator, then stop. 2. Burst takes dates as Unix timestamps and counts days in my site's time zone. Get my site's offset from UTC today with run_wp_cli option get gmt_offset (in hours; it already includes daylight saving time) and multiply it by 3600 to get OFFSET_SECONDS (-5 becomes -18000). Then run run_wp_cli db query "SELECT UNIX_TIMESTAMP() AS now, UNIX_TIMESTAMP() - MOD(UNIX_TIMESTAMP() + OFFSET_SECONDS, 86400) AS today_start" and use those two numbers (if clocks changed between midnight and now today, move today_start by 3600 by the same rule as below). For an earlier day, subtract 86400 from today_start for each day back; if a daylight saving change falls in between (run_wp_cli option get timezone_string names the time zone; empty means a fixed offset with no changes), subtract another 3600 if clocks went back an hour since that day, or add 3600 if they went forward. A day ends 1 second before the next one starts. Always send both date_start and date_end: without them burst/today-summary counts every visit ever recorded and burst/data can come back empty. 3. Run burst/data with type datatable, datatable_id search-terms, date_start [90] days before today's start, date_end now and limit 100. volume is how many times a term was searched, results the most posts, pages or products a search for it found in that time. Burst deletes searches made only once that found nothing after about a month, so older one-off gaps are gone. If there are no rows, tell me why it can be: nobody has searched yet or Burst was installed recently, or visitors search with something other than the site's own search box (Burst records addresses with ?s= in them). Then stop. 4. Group the terms that mean the same thing (plurals, misspellings, other word order) and add up their volume. List the searches that found 0 results first, then those that found 1 or 2, most searched first. 5. For the top [5], check whether the site already covers the topic under other words: rest_api GET /wp/v2/search?search=WORD&per_page=5 with fields id,title,url,subtype, once with the main word and once with a synonym. For each, say whether it needs a new post, or an existing post improved so search finds it (by using the visitors' own words in its title or opening). 6. Ask me which to draft. For each one I pick, create a post with rest_api_write POST (or rest_api with method POST where that is the only REST tool) to /wp/v2/posts with status draft: a title in the visitors' own words, a two-sentence introduction, and an outline of heading blocks with one line under each saying what goes there. Don't publish anything. 7. List the drafts with their edit links, and the search term and number of searches behind each, so I can check them.
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Turn Site Searches into Content Ideas with Burst Statistics and AI” recipe from the WPVibe cookbook on my connected site.
Every time a visitor types into your site’s search box, they tell you what they came for. When the search finds nothing, they leave, and you never hear about it. Those searches are a ready list of posts to write next, and they sit unread in your analytics.
The AI reads the searches Burst Statistics recorded over the last three months, groups the ones that mean the same thing and lists what found nothing or almost nothing, most searched first. It checks whether you already cover each one under other words, then drafts posts only for the gaps you pick: a title in your visitors’ own words, a short introduction and an outline. Everything is saved as a draft, never published.
Burst records searches made with your site’s own search box (addresses with ?s= in them) and how many results each found. It deletes searches made only once that found nothing after about a month, so a three-month look shows the repeated gaps and only recent one-offs. A search service that replaces WordPress search may not show up. Read each draft, add what only you know, and publish it yourself.
Outcome
A list of site searches that found nothing, and draft posts with an outline for the ones you chose, none published.