http://nakanohito.jp/stage/ugokuhito/
なかのひとから携帯サイト向けアクセス解析サービス「うごくひと」が公開されました.
この「うごくひと」では、携帯サイトへのアクセス数や検索キーワード分析といった通常の Web アクセス解析機能のほか、年齢・性別の傾向などのユーザー層分析、アクセスしてきた携帯端末の機能や画面サイズの分布などの端末分析、どんな携帯機種がいつアクセスしてきたかが時系列で分かる足あと機能などを提供します。
ということで,早速 chalow の clkeitai.cgi を対応させてみました.
と言っても,タグを追記しただけですが.
--- clkeitai.cgi~ 2005-09-03 18:31:54.000000000 +0900
+++ clkeitai.cgi 2008-08-10 20:04:39.000000000 +0900
@@ -29,7 +29,9 @@
for (my $i = 1; $i < 10; $i++) {
print qq(<a href="clkeitai.cgi?date=$date-$i">$date-$i</a>, );
}
- print "...</body></html>\n";
+ print "...</br>";
+ print "<a href=\"http://m.nakanohito.jp/ugokuhito/\"><img src=\"http://m.nakanohito.jp/an/?u=000000&h=000000&guid=ON&t=&type=m\" border=\"0\" width=\"72\" height=\"16\" alt=\"携帯アクセス解析\" /></a>";
+ print "</body></html>\n";
exit;
}
output_an_item($date);
@@ -50,7 +52,9 @@
} elsif (-e "$ym.html") {
$fn = "$ym.html";
} else {
- print "<body>No Entry $ymdi</body></html>\n";
+ print "<body>No Entry $ymdi";
+ print "<a href=\"http://m.nakanohito.jp/ugokuhito/\"><img src=\"http://m.nakanohito.jp/an/?u=000000&h=000000&guid=ON&t=&type=m\" border=\"0\" width=\"72\" height=\"16\" alt=\"携帯アクセス解析\" /></a>";
+ print "</body></html>\n";
}
open(F, "< $fn") or die "Can't open $fn : $!\n";
@@ -94,7 +98,9 @@
}
$outstr = jcode($outstr)->sjis;
- print "<body>$ymdi<p>$outstr</p></body></html>\n";
+ print "<body>$ymdi<p>$outstr</p>";
+ print "<a href=\"http://m.nakanohito.jp/ugokuhito/\"><img src=\"http://m.nakanohito.jp/an/?u=000000&h=000000&guid=ON&t=&type=m\" border=\"0\" width=\"72\" height=\"16\" alt=\"携帯アクセス解析\" /></a>";
+ print "</body></html>\n";
}
### アイテム一覧表示
@@ -142,7 +148,7 @@
<body>
$outstr
<a href="clkeitai.cgi?from=$last"><<</a>
-</body></html>
+<a href="http://m.nakanohito.jp/ugokuhito/"><img src="http://m.nakanohito.jp/an/?u=000000&h=000000&guid=ON&t=&type=m" border="0" width="72" height="16" alt="携帯アクセス解析" /></a></body></html>
HTML
;
}
で,携帯でアクセスして,うごくひとのロゴがでることを確認.
あと,
- [を] このブログをケータイで見たときのリダイレクトと「はてブ」リンクの修正
http://chalow.net/2008-07-13-3.html
の .htaccess の設定
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} (J-PHONE|SoftBank|Vodafone|DoCoMo|KDDI)
RewriteRule ^([0-9]+-[0-9]+-[0-9]+-[0-9]*)\.html$ /~fumi/cl/clkeitai.cgi?date=$1 [R,L]
をして,携帯から 200X-XX-XX-X.html にアクセスされたら,
clkeitai.cgi?date=200X-XX-XX-X.html にリダイレクトされるようにしておく.
- foxmeter ふぉくすけ版を貼ってみた [2008-06-29-3]
- なかのひと ベータ版 - 公共機関、会社、学校など組織からのアクセスに特化した超絶!アクセス解析 [2007-04-18-3]
Referrer (Inside):
[2008-08-27-2] clkeitai.cgi に AdSense をつけてみた
comments powered by Disqus
[2008-08-27-2] clkeitai.cgi に AdSense をつけてみた