跳到内容

GA4 Support Cookie Banner

v1.1.0

ga4support · 2026年10月8日 上架

Show the GA4 Support cookie banner and set Google Consent Mode v2, so your Google tags only fire with permission.

正在使用
10 以下
评分
暂无
累计下载
315
最近更新
2026年10月17日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

This plugin places the GA4 Support cookie banner on your site. The banner asks visitors which
cookies they allow, stores that choice, restores it on their next visit, and passes it to Google
Consent Mode v2 so that Google Analytics, Google Ads and other Google tags only fire with
permission.

GA4 Support is an independent service by Attributions (the Netherlands). It is not affiliated with or endorsed by Google.

A GA4 Support account is required. No account yet? Create one at https://cmp.ga4support.nl/wordpress — no Tag Manager needed. The banner itself is included in every plan. All settings —
texts, colours, categories, languages, which cookies are listed — live in your GA4 Support
dashboard, not in WordPress. This plugin only connects your site to that account, so there is
never a second place that disagrees with the first.

What the plugin does

  • Loads the banner as early as possible, before other tags run. This matters: Google Consent Mode
    needs a default state that is set before any Google tag loads.
  • Provides the shortcode [sst_cookies] to show your cookie list on a cookie policy page. The
    table stays in sync with the inventory in your dashboard; you never update it by hand.

Works with the WP Consent API

If the free “WP Consent API” plugin is active, this plugin registers itself with it and passes the visitor’s choice on: statistics, marketing, preferences and functional. Other plugins that support the WP Consent API then know what the visitor allowed. There is nothing to set up. Without the WP Consent API plugin nothing changes.

What the plugin deliberately does not do

  • It does not duplicate your banner settings. Those are in the dashboard.
  • It does not add a “change cookie settings” button. The banner provides that itself.
  • It does not collect, store or send anything from your WordPress installation.

External services

This plugin loads two scripts from GA4 Support (Attributions, the Netherlands) into your
visitors’ browsers. Using it means their browsers contact that service.

  1. The banner script, loaded on every page from
    https://dashboard.ga4support.nl/api/cookie-banner/cb.js. It receives your account ID so it
    can load your banner configuration. The banner stores the visitor’s choice in a cookie on your
    own domain, and records that a choice was made — the choice itself, the moment, and a random
    identifier with no personal data in it — so that you can demonstrate consent was given. It
    does not send the page content, the visitor’s identity, or anything from your WordPress
    installation.

  2. The cookie list script, loaded only on pages where you place the [sst_cookies]
    shortcode, from https://dashboard.ga4support.nl/api/cookie-banner/ci.js. It reads the public
    cookie inventory for your account and renders it as a table. It sets no cookies and reads none.

Service provided by Attributions / GA4 Support:
Terms of service: https://www.ga4support.nl/application-terms-of-service/
Privacy policy: https://www.ga4support.nl/privacy-policy-attributions-support-api/

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums