Title: Device Detector
Author: Pierre Lannoy
Published: <strong>2020 年 1 月 22 日</strong>
Last modified: 2026 年 3 月 20 日

---

搜尋外掛

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

# Device Detector

 由 [Pierre Lannoy](https://profiles.wordpress.org/pierrelannoy/) 開發

[下載](https://downloads.wordpress.org/plugin/device-detector.4.5.0.zip)

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

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

## 外掛說明

**Device Detector** is a full featured analytics reporting and management tool that
detects all devices accessing your WordPress site.

For each call made to your site, **Device Detector** analyzes the sent header, detects
the device doing the call (and its characteristics) and can:

 * modify the `is_mobile()` WordPress core function to be more precise and reliable;
 * add some CSS classes to the `body` tag of your site (many classes to choose from);
 * let you use the result of the detection in your own developments;
 * record detected characteristics for reporting.

**Device Detector** can report the following main items and characteristics:

 * KPIs: number of hits, class breakdown, clients types and engines;
 * Classes: Bot, Desktop, Mobile and Other;
 * Devices types: Camera, Car Browser, Console, Feature Phone, Phablet, Portable
   Media Player, Smart Display, Smartphone, Tablet, TV;
 * Client types: Application Library, Browser, Feed Reader, Media Player, Mobile
   Application, PIM.
 * Technical characteristics and versions of all browsers;
 * Device identification: brand, model, etc.;
 * OS identification: name, version, etc.;
 * Calling channel: site backend, site frontend, cron job, Ajax request, XML-RPC
   request, Rest API request, Atom/RDF/RSS feed;

For a full list of items, characteristics and supported devices, please see the ‘
devices’ tab in the plugin settings.

**Device Detector** supports multisite report delegation and per site configuration(
see FAQ).

**Device Detector** supports an extensive set of WP-CLI commands to:

 * get a device detail: see `wp help device describe` for details;
 * display Device Detector status: see `wp help device status` for details;
 * toggle on/off main settings: see `wp help device settings` for details;
 * describe engine capacities: see `wp help device engine` for details;
 * display devices statistics: see `wp help device analytics` for details.

For a full help on WP-CLI commands in Device Detector, please [read this guide](https://perfops.one/device-detector-wpcli).

> **Device Detector** is part of [PerfOps One](https://perfops.one/), a suite of
> free and open source WordPress plugins dedicated to observability and operations
> performance.

Based on the amazing [Matomo](https://github.com/matomo-org/matomo) UDD, Device 
Detector is a free and open source plugin for WordPress. It integrates many other
free and open source works (as-is or modified). Please, see ‘about’ tab in the plugin
settings to see the details.

#### Developers

If you’re a plugins / themes developer and want to take advantage of the detection
features of Device Detector, visit the [GitHub repository](https://github.com/Pierre-Lannoy/wp-device-detector)
of the plugin to learn how to use it.

#### Support

This plugin is free and provided without warranty of any kind. Use it at your own
risk, I’m not responsible for any improper use of this plugin, nor for any damage
it might cause to your site. Always backup all your data before installing a new
plugin.

Anyway, I’ll be glad to help you if you encounter issues when using this plugin.
Please read carefully the FAQ at the bottom of this page before requesting support.

#### Privacy

This plugin, as any piece of software, is neither compliant nor non-compliant with
privacy laws and regulations. It is your responsibility to use it – by activating
the corresponding options or services – with respect for the personal data of your
users and applicable laws.

This plugin doesn’t set any cookie in the user’s browser.

This plugin may handle personally identifiable information (PII). If the GDPR or
CCPA or similar regulation applies to your case, you must adapt your processes (
consent management, security measure, treatment register, etc.).

#### Donation

If you like this plugin or find it useful and want to thank me for the work done,
please consider making a donation to [La Quadrature Du Net](https://www.laquadrature.net/en)
or the [Electronic Frontier Foundation](https://www.eff.org/) which are advocacy
groups defending the rights and freedoms of citizens on the Internet. By supporting
them, you help the daily actions they perform to defend our fundamental freedoms!

## 螢幕擷圖

 * [[
 * Main Analytics Dashboard
 * [[
 * Browsers List
 * [[
 * Browser Details
 * [[
 * Bots List
 * [[
 * Bot Details
 * [[
 * Libraries List
 * [[
 * OS List
 * [[
 * OS Details
 * [[
 * Devices List
 * [[
 * Device Details

## 安裝方式

#### From your WordPress dashboard

 1. Visit ‘Plugins > Add New’.
 2. Search for ‘Device Detector’.
 3. Click on the ‘Install Now’ button.
 4. Activate Device Detector.

#### From WordPress.org

 1. Download Device Detector.
 2. Upload the `device-detector` directory to your `/wp-content/plugins/` directory,
    using your favorite method (ftp, sftp, scp, etc…).
 3. Activate Device Detector from your Plugins page.

#### Once Activated

 1. Visit ‘PerfOps One > Control Center > Device Detector’ in the left-hand menu of
    your WP Admin to adjust settings.
 2. Enjoy!

## 常見問題集

### Can this plugin work on multisite?

Yes. It is designed to work on multisite too. Network Admins can configure the plugin
and have access to all analytics. Sites Admins have access to the analytics of their
site(s) and can configure options for their own site(s).

### Where can I get support?

Support is provided via the official [WordPress page](https://wordpress.org/support/plugin/device-detector/).
Because I am human myself, please note that I only answer to support requests made
by humans, who behave like humans. This excludes requests or bug reports written
by AI or those that do not adhere to basic rules of courtesy.

### Where can I find documentation?

Developer’s documentation can be found in the [GitHub repository](https://github.com/Pierre-Lannoy/wp-device-detector)
of the plugin.

### Where can I report a bug?

You can report bugs and suggest ideas via the [GitHub issue tracker](https://github.com/Pierre-Lannoy/wp-device-detector/issues)
of the plugin.

## 使用者評論

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

### 󠀁[Solid, but harms performance](https://wordpress.org/support/topic/solid-but-harms-performance/)󠁿

 [sgpro](https://profiles.wordpress.org/sgpro/) 2024 年 10 月 7 日

This plugin is solid, but ‘device-detector/includes/libraries/spyc/Spyc.php’ and
related methods/functions under this script leaves a considerable performance penalty
when installed on our site. It is a promising plugin, but it’s likely not as battle-
tested as it should.

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

### 󠀁[good plugin](https://wordpress.org/support/topic/good-plugin-5873/)󠁿

 [Komanda](https://profiles.wordpress.org/komanda/) 2022 年 5 月 15 日 1 則留言

I liked this plugin

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/device-detector/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Device Detector〉的開發相關工作。

參與者

 *   [ Pierre Lannoy ](https://profiles.wordpress.org/pierrelannoy/)
 *   [ Hosterra ](https://profiles.wordpress.org/hosterra/)

〈Device Detector〉外掛目前已有 3 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/device-detector/contributors)
為這個外掛做出的貢獻。

[將〈Device Detector〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/device-detector)

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

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

## 變更記錄

Please, see [full changelog](https://perfops.one/device-detector-changelog).

## 社群版外掛

這個外掛由社群人員開發及提供技術支援。 [參與這個外掛專案](https://github.com/Pierre-Lannoy/wp-device-detector)

## 中繼資料

 *  版本 **4.5.0**
 *  最後更新 **2 個月前**
 *  啟用安裝數 **600+**
 *  WordPress 版本需求 ** 6.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 8.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/device-detector/)、[French (Belgium)](https://fr-be.wordpress.org/plugins/device-detector/)、
   [French (Canada)](https://fr-ca.wordpress.org/plugins/device-detector/)、及 [French (France)](https://fr.wordpress.org/plugins/device-detector/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/device-detector)
 * 標籤:
 * [bot](https://tw.wordpress.org/plugins/tags/bot/)[detection](https://tw.wordpress.org/plugins/tags/detection/)
   [detector](https://tw.wordpress.org/plugins/tags/detector/)[device](https://tw.wordpress.org/plugins/tags/device/)
   [mobile](https://tw.wordpress.org/plugins/tags/mobile/)
 *  [進階檢視](https://tw.wordpress.org/plugins/device-detector/advanced/)

## 評分

 4 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Pierre Lannoy ](https://profiles.wordpress.org/pierrelannoy/)
 *   [ Hosterra ](https://profiles.wordpress.org/hosterra/)

## 技術支援

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

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