Linux 软件免费装
Banner图

Tagsmith – Google Analytics (GA4) Dashboard, Consent Mode v2 & Ad Pixels

开发者 shivaat
更新时间 2026年10月14日 04:42
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

google analytics search console ga4 consent mode microsoft clarity

下载

2.0.0 2.1.0 2.1.1

详情介绍:

Tagsmith is a free WordPress plugin that shows your Google Analytics 4 (GA4) reports inside wp-admin and adds the Google tag with Consent Mode v2. See visitors, top pages, traffic sources, Search Console queries and per-post stats without leaving WordPress. Google access is read-only, and there are no upgrade prompts. It is for site owners who want a plain answer to "how is my site doing?", and for freelancers who set up the Google tag, Microsoft Clarity and ad pixels on client sites under one consent setting. Features Our pledges Google Analytics, Search Console and the Google tag are trademarks of Google LLC; Microsoft Clarity is a Microsoft product. Tagsmith is not made or endorsed by either.

安装:

  1. Go to Plugins, Add New, then install and activate Tagsmith.
  2. Go to Tagsmith, Settings. The setup wizard starts.
  3. Read the pledges and data disclosure, then choose how to connect:
  4. Connect with Google to see reports in WordPress (recommended), or
  5. Add the tracking code only to paste a G- Measurement ID, for tracking only.
  6. If you connected, choose your GA4 property and web stream, and optionally turn on Search Console.
  7. Review tracking and privacy (excluded roles, Consent Mode).
  8. Open Tagsmith, Dashboard.

屏幕截图:

  • A post's views, channels and searches, while you write.
  • Rage clicks, dead clicks and scroll depth, by page.
  • Google searches that bring people to your site.
  • Duplicate tags and other reasons your numbers differ.
  • Our pledges and what data leaves your site.
  • Consent Mode, excluded roles and staging rules.
  • Ad pixels: switch on platforms, choose their events.

常见问题:

How does consent work?

Tagsmith uses Google Consent Mode v2 and follows the choices made in your consent banner (it shows none). Clarity follows the same setting, with three values:

  • Advanced (default): the tag loads for everyone, but by default in the EEA, UK and Switzerland it starts with consent denied until the visitor agrees.
  • Basic: the tag loads only after the visitor agrees (an opt-out banner counts as agreed). This needs a banner that supports the WP Consent API, or one that calls window.tagsmithGrant().
  • Off: no consent signals are sent.

How do the ad pixels work with consent?

In Advanced mode they wait for marketing consent from visitors whose default is "not agreed", in Basic mode from everyone; in Off mode they load for everyone. Without a WP Consent API banner or Google Consent Mode (ad_storage), a visitor who has to agree never triggers a pixel. Where visitors must agree, a banner that decides only in the browser (CookieYes) loses leads from forms that send visitors to another page. Google Ads waits the same way and, in Basic mode with the Google tag set up, also for its grant.

Is Tagsmith free?

Yes. Every feature is free, with no usage limits and no upgrade screens, and nothing in the plugin will be locked later.

Can I use it without connecting Google?

Yes. Choose "Add the tracking code only" and paste your G- Measurement ID. You get the Google tag with Consent Mode, plus Microsoft Clarity and the ad pixels if you turn them on, without reports in WordPress.

Why don't my numbers match Google Analytics?

Usually caching (up to an hour for past dates), time zones, or a second tag that another plugin or your theme adds. Settings, Health looks for a second tag. Tagsmith uses your WordPress time zone and GA4 your property's, so set both to the same zone.

Can I use my own Google client?

Yes. On the Sign-in & data tab, under "Use my own Google client", add your client ID and secret. Your site then talks only to Google, and the sign-in relay is never contacted.

Where is the source code for the JavaScript?

build is compiled from assets/src. To rebuild it, use Node 22 and run npm ci && npm run build in the plugin folder.

What is the demo folder?

The demo folder holds sample data for the Live Preview.

更新日志:

2.1.1 2.1.0 2.0.0