
內容簡介
MetricMint 是一款讓您輕鬆連接常見分析和驗證服務的 WordPress 外掛,無需為每個服務安裝單獨的追蹤外掛。它提供多種免費服務,簡化網站數據追蹤和管理的流程。
【主要功能】
• 支援 Google Analytics 4 和 Google Tag Manager
• 整合 Microsoft Clarity 和 Hotjar
• 提供 Google Search Console 和 Bing Webmaster Tools 驗證
• 具備全域暫停注入的功能
• 角色排除功能,避免記錄特定用戶角色
• 加入 Founder’s Club 等候名單的選項
外掛標籤
開發者團隊
原文外掛簡介
MetricMint lets you connect common analytics and verification services from Settings → MetricMint. No separate tracking plugin required for each service.
Free (Active) services
Google Analytics 4
Google Tag Manager
Microsoft Clarity
Hotjar
Google Search Console (HTML meta verification)
Bing Webmaster Tools (HTML meta verification)
Coming soon (Pro teasers)
Advertising pixels (Meta, TikTok, LinkedIn, Pinterest, X) appear in the Tracking Tools grid as Pro (Coming Soon). They are not injected by this free plugin. Free analytics and verification remain fully usable under GPLv2 or later.
Admin features
Four tabs: General, Tracking Tools, Settings, Premium
Global master switch to pause all injections
Role exclusions so logged-in team roles are not tracked
Optional Google Consent Mode v2 Denied defaults before GA4 / GTM
Founder’s Club waitlist (optional email via getmetricmint.com / MailerLite)
MetricMint is theme-agnostic and works with any WordPress theme that supports standard wp_head / wp_body_open hooks. Google Tag Manager’s noscript fallback uses wp_body_open; if your theme does not call that hook, the GTM iframe noscript snippet may not appear (the GTM head script still loads).
Privacy
When you enable a third-party service, that provider’s scripts or meta tags run on your site and may collect visitor data under that provider’s terms. See the FAQ and suggested privacy policy text (Settings → Privacy) for details. Joining the Founder’s Club waitlist is optional and separate from site visitor tracking.
The plugin also communicates with the MetricMint platform itself. See External services below for exactly what is sent and when.
External services
This plugin can connect to the MetricMint platform at getmetricmint.com so a site can be linked to a MetricMint account, receive the configuration assigned to it, and be identified when you contact support.
No data is sent to MetricMint unless you connect the site. Requests 1 and 2 below happen only after you enter a MetricMint license key under Settings → MetricMint → Settings. Until then the plugin makes no requests to getmetricmint.com and reports nothing about your site. Every local feature works fully without connecting: tag and pixel injection, Consent Mode defaults, role exclusions, the master switch. Removing the license key stops the requests again.
1. Site registration (after you enter a license key)
What it does: registers this site with the MetricMint platform and keeps its record current.
When: shortly after you connect the site, once per day via WP-Cron, after you save the plugin settings, and when the plugin’s REST routes are accessed if the last successful contact was more than 12 hours ago.
What is sent: the site address (home URL); the WordPress administration email address (admin_email); the plugin version; whether the master switch is enabled; the list of enabled tracking tool IDs; the Google Analytics measurement ID, if one is configured; your MetricMint license key, if you have entered one; and a random per-site token that the plugin generates on first run and stores in the site’s options to identify this installation.
2. Configuration sync (after you enter a license key)
What it does: retrieves the tracking tool settings assigned to this site in MetricMint and applies them locally.
When: as part of the response to the registration request above, and when the plugin’s metricmint/v1/pull-config REST route is requested.
What is sent: the site address (home URL) and the per-site token described above.
3. Founder’s Club waitlist (only when you submit the form)
What it does: adds an email address to the MetricMint product waitlist, delivered via MailerLite.
When: only when you submit the waitlist form inside the plugin.
What is sent: the email address you enter in that form.
4. Connection test (only when you enable a tracking tool)
When you enable a tracking tool, the plugin may make a single request to the third-party provider you are configuring to check that the details you entered work. That request goes to that provider, not to MetricMint, and identifies itself with a user agent containing this site’s address.
Requests 1–3 go to the MetricMint platform, operated by MetricMint: Terms of Service and Privacy Policy.
The platform address can be changed for self-hosted or staging setups with the METRICMINT_PLATFORM_BASE constant in wp-config.php.
Endpoints this plugin adds to your own site
The plugin registers two REST routes on your site so MetricMint can check the plugin’s health and apply a configuration you set in your dashboard. Neither route sends anything anywhere on its own.
GET /wp-json/metricmint/v1/diagnostics returns a non-secret health summary: the plugin version, your WordPress and PHP versions, whether the site uses HTTPS and is a multisite, the site address, whether the master switch is on, which tracking tools are enabled, any caching plugin detected, and the Google Analytics measurement ID if one is configured. It never returns API keys, verification tokens, your license key, or any visitor data.
POST /wp-json/metricmint/v1/pull-config asks this site to fetch its own configuration from MetricMint (request 2 above) and apply it locally.
Both routes reject unauthenticated requests. A request is accepted only from a signed-in WordPress administrator, or one carrying an X-MetricMint-License header matching the license key saved on this site, or an X-MetricMint-Diagnostics-Secret header matching a METRICMINT_DIAGNOSTICS_SECRET constant you define in wp-config.php. getmetricmint.com uses the license key. If you have not connected the site, only your own administrators can reach either route.
