內容簡介
我想我天生就是個好奇的人。在安裝了Anders Holte Nielsens Counterize外掛後,我注意到有相當多的Google查詢命中。我想知道是哪些關鍵字使人們來到我的網站。我快速搜尋了一下,但並沒有找到符合我心目中想法的內容(更新:讀者指出,有一個名為Search Phrases的外掛,其目標稍微簡化了一些)。
由於Counterize跟踪轉向網址,所以只需要應用一些正則表達式並準備一個類似標籤的關鍵詞熱度圖,我們都習慣使用它。
使用
這是一個相當簡單的篩選器。有兩種使用方法:
函數調用 [供模板使用]
<?php if(function_exists(cloogooq)) cloogooq(keywords); ?>
<?php if(function_exists(cloogooq)) cloogooq(phrases); ?>
標記篩選器 [供文章使用]
[CloOGooQ_KEYWORDS]
[CloOGooQ_PHRASES]
無論哪種方式,都會生成下面的兩個關鍵詞熱度圖(下方)。第一個熱詞圖會拆分搜尋字串並對每個單詞進行計數。第二個短語圖保留搜索字串的完整性 - 就像用戶輸入的那樣。
授權
這個WordPress插件是根據GPL發布的,並且沒有任何保證(好比?)。如需支援,請發表評論,我們將看看社區的意見。
外掛標籤
開發者團隊
原文外掛簡介
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]
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.
