
內容簡介
DevBrothers Counter Manager 讓您在 WordPress 網站上輕鬆添加和管理網頁分析計數器,而無需編輯佈景主題檔案。您可以輕鬆粘貼 Yandex.Metrika 或 Google Analytics 的官方計數器代碼,並選擇性地在腳本加載前顯示 cookie 同意橫幅。
【主要功能】
• 支援 Yandex.Metrika 計數器代碼管理
• 支援 Google Analytics (gtag.js) 計數器代碼管理
• 啟用/禁用計數器功能,無需刪除代碼
• 計數器代碼自動插入於 <head> 區域
• 可選的 cookie 同意橫幅功能
• 排除特定 URL 的橫幅顯示
外掛標籤
開發者團隊
原文外掛簡介
DevBrothers Counter Manager lets you add and manage web analytics counters on your WordPress site without editing theme files. Paste the official counter code from Yandex.Metrika or Google Analytics, enable or disable each counter, and optionally show a cookie consent banner before scripts load.
Key Features
Yandex.Metrika — paste and manage your Metrika counter code
Google Analytics — paste and manage your gtag.js / GA code
Enable / disable — turn counters on or off without deleting saved code
Insert into
Cookie consent banner — optional banner; analytics loads only after visitor accepts (when enabled)
Exclude paths — skip the banner on selected URLs (e.g. dashboard pages)
DevBrothers Admin Panel — settings inside the unified DevBrothers interface
Cookie Consent (optional)
When the cookie banner is enabled:
Analytics scripts are not loaded until the visitor clicks Accept
A consent value is stored in a first-party cookie on your domain (dbcm_cookie_consent)
No consent data is sent to third parties — only stored locally in the visitor’s browser
You can link to your privacy / cookie policy page
Light or dark banner theme
When the banner is disabled, counters behave as usual and load immediately.
Requirements
WordPress 5.8+
PHP 7.4+
DevBrothers Admin Panel (required dependency)
External services
This plugin integrates with third-party analytics services when you enable counters and paste their official tracking code.
Yandex.Metrika
When enabled, the plugin outputs the Yandex.Metrika counter code you provide. Data is sent to Yandex servers according to your Metrika configuration.
Typical data sent to Yandex.Metrika includes page views, browser/device information, and referrer data (see Yandex documentation for details).
Service provider: Yandex LLC
Terms: https://yandex.com/legal/metrica_termsofuse/
Privacy: https://yandex.com/legal/privacy/
Google Analytics
When enabled, the plugin outputs the Google Analytics (gtag.js) code you provide. Data is sent to Google servers according to your Analytics configuration.
Typical data sent to Google Analytics includes page views, browser/device information, and referrer data (see Google documentation for details).
Service provider: Google LLC
Terms: https://www.google.com/analytics/terms/
Privacy: https://policies.google.com/privacy
Local cookie (consent banner)
When the cookie banner is enabled, the plugin stores the visitor’s choice (accepted or declined) in a first-party cookie on your site. This data is not transmitted to DevBrothers or any external service.
