這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Cloud-O-Google Queries

外掛說明

I guess I’m just curious by nature. After installing Anders Holte Nielsens Counterize plug-in, I noticed quite a few google query hits. I wanted to know which keywords led people to my site. I did a quick search but couldn’t find somethink like I had in mind (Update: A reader pointed out, that there is a plugin called Search Phrases, which has a slightly more minimalistic aim).
Since Counterize keeps track of the referer, it was just a matter of applying some regular expressions and preparing a tag-like keyword heat cloud, which we’ve all gotten used to.

Usage

This is quite a simple filter. There’s two ways to use it:

function call [for use in templates]

  • <?php if(function_exists(cloogooq)) cloogooq(keywords); ?>
  • <?php if(function_exists(cloogooq)) cloogooq(phrases); ?>

token filter [for use in posts]

  • [CloOGooQ_KEYWORDS]
  • [CloOGooQ_PHRASES]

Either way will generate one of these two keyword clouds below. The first one disassembles the search string and counts each word for it’s one. The second phrase cloud leaves search strings intact – just like they got entered by the user.

License

This WordPress plug is released under the GPL and is provided with absolutely no warranty (as if?). For support leave a comment and we’ll see what the community has to say.

螢幕擷圖

  • keyword heat cloud.
  • phrases heat cloud.
  • basic setup
  • filter setup
  • styling setup

安裝方式

You will need PHP5 and WordPress2.1 or higher to use this plugin. Otherwise there is nothing more to set up, just download, extract into /wordpress/wp-content/plugins and activate. Check the admin panel “Options->CloOGoQ” for further options.

Requirements

As mentioned earlier, this is rather a plug-in plug-in. Apart from your WordPress blog, you’ll need to have some way to track traffic on your site (more specifically you need some sql-table with your referer history. See FAQ below for some more discussion on that point). The plugin has been positively test with the following statistics databases (please keep reporting):
+ Counterize
+ Counterize II (prior to v2.13) [Table/Key: "wp_Counterize_Referers"/"name", Local Table/Key: "wp_Counterize_Pages"/"url"]
+ Search Phrases [Table/Key: "wp_gwj_searchphrases"/"referer"]
+ SlimStat
+ StatTrack

常見問題集

I keep getting the `[wrong or empty table: wp_Counterize_Referers >> name ?]` error, whats wrong?

A: There’s a couple possibilities. First of all you should check, that you have v0.b5.4 or higher. Then you should double check that you have the correct table/key-name set in the CloOGooQ preference panel. Also check the limiter settings (they may be to high if it’s a fresh blog).

How about other search site queries?

A: CloOGooQ currently looks for "q=" matches in the referer-string. Hence any search engine using this notation will be counted (which in my eyes is the majority). Other search engines using query= or qkw= or any such string are [currently] being ignored.
A: As of version v0.b4.4 CloOGooQ is able to handle pretty much any search engine. The user may now enter any search engine key he thinks worthy of attention. The most common ones in my blog are: q=, as_q=, p=, query=, qkw=, key=, su=. If you have other search engines referring to you site, just enter the appropriate key in the list provided in the options panel. Be ware of faulty or double entries, they may seriously mess up your keyword clouds.

How about compatibility to my so-much-better statistics plugin?

A: CloOGooQ will work with any statistics plugin that keeps track of the referer.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Cloud-O-Google Queries〉的開發相關工作。

參與者

將〈Cloud-O-Google Queries〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄