Linux 软件免费装
Banner图

Mailpassed Real Visitor Filter for GA4

开发者 donrulez
更新时间 2026年11月20日 04:49
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

analytics google analytics ga4 bot traffic spam traffic

下载

1.0.0

详情介绍:

Since late 2025 many sites see a flood of zero-second "Direct" sessions in Google Analytics 4, mostly from Lanzhou (China) and Singapore. Blocking countries or IP ranges does not remove them, because part of this traffic comes from headless browsers that run your pages, and part is sent straight to Google without ever touching your site. Mailpassed Real Visitor Filter for GA4 handles both: Other features:

安装:

  1. Install and activate the plugin.
  2. Go to Settings > Real Visitor Filter (GA4) and enter your GA4 Measurement ID (G-XXXXXXXXXX).
  3. Turn off the Google Analytics output of your theme or other plugins, so this plugin is the only GA4 tag.
  4. After a day, create the data filter in GA4: Admin > Data collection and modification > Data filters > Create filter > Internal traffic. Filter operation: Include only. Parameter value: human. Filter state: Testing.
  5. Compare reports with the "Test data filter name" dimension for a few days, then set the filter to Active.

常见问题:

Will I lose real visitors?

In Balanced mode a visitor is counted after any interaction or after a few seconds on screen, so only visits that leave almost instantly without touching the page are not counted. Strict mode also skips visitors who read without scrolling or moving the mouse. Use the Testing state of the GA4 filter to see the effect on your site before you activate it.

Does the filter change my old data?

No. GA4 data filters apply only to data collected after they are activated. Active filters are permanent: excluded data is never processed, which is why the plugin recommends Testing mode first.

I use Google Tag Manager or another analytics plugin.

Use this plugin as your only GA4 tag. Hits from other tags will not carry the tag value and will be dropped once the filter is active.

Does this block bots from my site?

No. It keeps them out of your analytics. To block bots from loading your site, use a firewall or your host's bot protection.

Is this an official Google product?

No. This plugin is not affiliated with or endorsed by Google. Google Analytics and GA4 are trademarks of Google LLC; "Mailpassed" is the author's own name (mailpassed.com).

更新日志:

1.0.0