This plugin analyzes the referrer data stored in exp_referrers and displays search phrases, search engines, keywords and rankings.
It’s just a little toy for your personal information. You’ll probably want to use it on a non-public template much like the referrer-list.
Just a note that I have some referrers where the ref_from is not a valid URL, resulting in “Undefined index: host” errors, so you might want to make sure that parse_url() returns what you are expecting before accessing indexes of the returned array. Other than that, it’s rather nifty and a useful way of displaying the information from that table.
…I have some referrers where the ref_from is not a valid URL…
That has been taken care of.
[quote author=”myself”]I seem to be unable to properly decode the html-entities Thanks to a tip by Derek that is also resolved :cheese: The plugin’s output is utf-8 now.
Other than that I updated this plugin to version 1.2 and added to new variables / parameters:
{top_referrer}: lists referrers (hosts) by number of referrals
{eesearch_cloud}: shows search phrases used with the EE search module in a cloud view Since I found lots of spam in the Search Term Log I’m filtering out any HTML, BBCode and URLs there, though.
First off: This is a really nice plugin! Important info at a glance, hats off.
I ran into an error though
Warning: parse_url(file://D:\WebSoft\Aptana\EHS.SFU.CA_trials\.2007.06.15_ImpPathogens.html): Unable to parse url in ./hart/plugins/pi.seo_gadget.php on line 348
Due working in Aptana under windows and sometime clicking a live link in the work environment I assume. Q:Could this be checked for (sorry my PHP knowledge is minimal).
I also ran into the mb_strtolower problem. I just turned all calls back into
strtolower($result[1])
instead of:
mb_strtolower($result[1,"UTF-8"])
which works for me (no umlauts etc) (no chance of getting the mb_strtolower installed here)
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.