DevBrothers Counter Manager
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
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 <head> — active counter code is output in the document head
- 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.