Title: Log-Hero.com Plugin
Author: Log Hero
Published: <strong>2018 年 6 月 14 日</strong>
Last modified: 2018 年 12 月 5 日

---

搜尋外掛

![](https://ps.w.org/loghero/assets/banner-772x250.png?rev=1892779)

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

![](https://ps.w.org/loghero/assets/icon-256x256.png?rev=1892779)

# Log-Hero.com Plugin

 由 [Log Hero](https://profiles.wordpress.org/loghero/) 開發

[下載](https://downloads.wordpress.org/plugin/loghero.0.2.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/loghero/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/loghero/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/loghero/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/loghero/#developers)

 [技術支援](https://wordpress.org/support/plugin/loghero/)

## 外掛說明

#### Log-Hero.com

Do you want to understand how bots crawl your website? Log Hero helps you track 
and visualize bots, spiders, and crawlers by making them visible in real time in
your Google Analytics account so that you can analyze them like human visitors.

His additional dimensions and metrics help you analyze the bot data even better.
Using Log Hero, you won’t have to fetch your server logs and analyze them in a lousy
UI. From now on, your logs are available in real-time in Google Analytics.

#### Data that you can monitor in Google Analytics

 * Page path of your crawled sites (see how often a bot crawls sites).
 * User agent (how the bot identifies himself).
 * IP addresses (only for bots, so 100% GDPR and privacy compliant).
 * Sessions and users (monitor bots and their flow as if they were human visitors).
 * HTTP status codes (monitor status codes of individual sites, find broken links,
   redirect chains, server failures).
 * Download times (how long the bot needs to download your content).
 * **[Premium]** Device category (which device category the bot used. I.e., see 
   whether Google crawled you with the mobile or desktop bot).
 * **[Premium]** Bot name (Using user agent and the IP address, we check whether
   the bot is whom he claims he is).
 * **[Premium]** Request method (see what request method (PUT or GET) bots used 
   on your site).
 * **[Premium]** Referral / channel (analyze through which links bots came to your
   site to crawl you).
 * **[Premium]** Location (see where the visitor or bot is from).
 * **[Premium]** IsBot (see at a first glance whether it’s a bot or a human).
 * **[Premium]** Spam detection (check how many spam bots visit your site and what
   type they are).
 * **[Premium]** Attack detection (get a warning if someone tries to attack or hack
   your site).

> Note: some of those features are premium features. They are only available in 
> paid plans. You can [get them here](https://log-hero.com)!

#### Analysis in Google Analytics

All data is safely stored in your Google Analytics account and available even if
you won’t continue using Log Hero.

 * Easy filtering of your data in Google Analytics (works with regular expressions,
   too).
 * Advanced and fast segment analysis.
 * Real-time monitoring of your data.
 * Easy exporting of your data as Excel, CSV, or Google Sheets.
 * Analysis of large data sets through Google Analytics’ API.
 * Easy setup of dashboards and alerts.

#### Monitoring critical technical issues

Log Hero helps you to identify many issues concerning technical optimization of 
your site and can derive quick action items to resolve these.

 * Which bots crawl my site and how often?
 * Which orphan pages has my site that are never crawled?
 * Which status codes does my site return to search engines?
 * Are my robots.txt and sitemap.xml crawled by search engine bots?
 * Do search engine bots crawl my page with a desktop or mobile device?
 * How long does the bot need to download the resources of my site?
 * How many users does my normal Google Analytics system not track because they 
   have disabled the tracker or Javascript?
 * and much more. Visit [log-hero.com](https://log-hero.com)! for more information

### Bug reports

Bug reports for Log Hero are [appreciated on GitHub](https://github.com/LogHero/lh-wp-plugin/issues).
Please note that GitHub is not a support forum, and issues that aren’t adequately
qualified as bugs are closed.

### Further Reading

For more information about logs or this plugin, visit the [Log-Hero](https://log-hero.com)
homepage.

## 螢幕擷圖

 * [[
 * Comparing hits from a Google bot vs. a Bing bot.
 * [[
 * Entering the API key in the Wordpress backend.
 * [[
 * Seeing real-time data of the Log Hero plugin in Google Analytics.
 * [[
 * Status code report in Google Analytics.
 * [[
 * Bot report in Google Analytics by page.

## 安裝方式

#### From within WordPress

 1. Visit ‘Plugins > Add New’.
 2. Search for ‘Log Hero’.
 3. Activate Log Hero in your plugins page.
 4. Follow the steps on “after activation” below.

#### Manually

 1. Upload the `log-hero` folder to the `/wp-content/plugins/` directory.
 2. Activate the Log Hero plugin through the ‘Plugins’ menu in WordPress.
 3. Follow the steps on “after activation” below.

#### After activation

 1. Click on Settings > LogHero.
 2. Now you have to enter the API key you received in the sign-up flow on [log-hero.com](https://log-hero.com).
    If you don’t have an API key, get one for free on [https://log-hero.com](https://log-hero.com)!
 3. You’re done! You should see the data coming into your Log Hero Google Analytics
    account.

If you have any problems, write our support team.

## 常見問題集

You’ll find answers to many of your questions on [log-hero.com](https://log-hero.com)
or write our support team.

## 使用者評論

![](https://secure.gravatar.com/avatar/1e664fc524b51af0ac05532af3c688bef3598bfe64e0cad09ed1dc14dc5109b5?
s=60&d=retro&r=g)

### 󠀁[Logs in GA – Yeah](https://wordpress.org/support/topic/logs-in-ga-yeah/)󠁿

 [atript](https://profiles.wordpress.org/atript/) 2018 年 6 月 14 日

Cool stuff I can exactly see my Logs in Analytics and check if the Googlebot is 
crawling my page correct. Funny: Interesting how many Attacks on my Page I can see

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/loghero/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Log-Hero.com Plugin〉的開發相關工作。

參與者

 *   [ Log Hero ](https://profiles.wordpress.org/loghero/)

[將〈Log-Hero.com Plugin〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/loghero)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/loghero/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/loghero/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/loghero/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/loghero/)。

## 變更記錄

#### [0.2.5]

#### Added

 * Support for IPv6

#### [0.2.4]

#### Added

 * Limit batch size of buffered log events (split into multiple batches if number
   of buffered log events exceeds limit).
 * Fix custom API settings (did not affect the WordPress plugin).

#### [0.2.3]

#### Added

 * Redis log buffer as an alternative to the file log buffer
 * Option to disable flush of log events
 * Added prefix to plugin options to avoid name collisions

#### [0.2.2]

#### Added

 * Admin error message if plugin cannot write to log buffer
 * Send protocol version (http or https)
 * Evaluation of IP ranges to improve bot detection

#### [0.2.1]

#### Added

 * Workaround for sites using Cloudflare
 * Admin warnings in case of unexpected errors
 * Protection from running out of disk space in case of flush errors
 * Option to switch from asynchronous mode to synchronous mode

## 中繼資料

 *  版本 **0.2.5**
 *  最後更新 **7 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.9.29**
 *  PHP 版本需求 ** 5.2.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/loghero/)
 * 標籤:
 * [crawlers](https://tw.wordpress.org/plugins/tags/crawlers/)[Log Analysis](https://tw.wordpress.org/plugins/tags/log-analysis/)
   [seo](https://tw.wordpress.org/plugins/tags/seo/)
 *  [進階檢視](https://tw.wordpress.org/plugins/loghero/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/loghero/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/loghero/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/loghero/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/loghero/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/loghero/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/loghero/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/loghero/reviews/)

## 參與者

 *   [ Log Hero ](https://profiles.wordpress.org/loghero/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/loghero/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://log-hero.com)