すべてのWordPressサイトにGoogle Analytics 4をネイティブ搭載。
測定IDを貼り付けて保存すると、gtag.jsがすべてのページの`<head>`に読み込まれます — 訪問者の分析同意でゲートされています。GAプラグインなし、functions.phpの編集なし、1つのタグを発火させるだけのためにGTMコンテナを手動設定する必要もありません。
無料トライアル。クレジットカード不要。全30インテグレーションを全プランに含む。
すべてのWordPressサイトにおけるGA4のレイヤー構成。
ほとんどのWordPressホストはトラッキングをお客様の問題として扱います。GAプラグインをインストールし、同意バナープラグインをインストールし、タグマネージャープラグインをインストールして、キャッシュレイヤーの後に追加されたためページキャッシュがgtagを削除していることに気づきます。
the gtag snippet, consent-pre-initialized.
consent default is denied. once the visitor's analytics_storage signal flips to granted, gtag retroactively replays buffered events. no lost pageviews, no consent race.
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EXAMPLE07"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
'analytics_storage': 'denied',
'ad_storage': 'denied'
});
gtag('js', new Date());
gtag('config', 'G-EXAMPLE07');
</script>paste a G- measurement ID. ship.
ダッシュボードは保存時に`G-`の形式を検証します。MU-pluginがすべてのフロントエンドページの`<head>`の正しい位置に、訪問者の分析同意状態でゲートしてgtagスニペットをレンダリングします。
find Google Analytics 4 in the Yovale dashboard's tracking panel.
regex `^G-[A-Z0-9]{4,20}$` enforced before save.
snippet renders in `wp_head` priority 1 on the next request.
G-EXAMPLE07GA4がウェブデータストリームを作成するときに発行します。形式:`G-`の後に4〜20の大文字または数字。
^G-[A-Z0-9]{4,20}$page_viewsession_startfirst_visituser_engagementrequest → DebugView in under 300ms.
how a single pageview moves through the Yovale stack into Google Analytics 4. cache stays valid because the consent state lives client-side, not in the cache key.
request hits Yovale origin
PHP-FPM builds response with gtag in `<head>`
edge cache stores HTML, gtag included
browser reads consent class on `<html>`
gtag fires with consent state passed
event lands in GA4 DebugView
three ways to ship GA4 on WordPress, ranked.
the cost isn't the GA4 license — Google gives that away. the cost is plumbing GA4 to fire correctly without breaking the page cache, the consent banner, or the next plugin update.
GA Plugin
- ✗GA4 fires correctly
- ✗Consent Mode v2 wired
- Survives plugin updates
- ✗Zero PHP overhead
yet another plugin, yet another update channel, yet another supply-chain risk.
GTM container only
- GA4 fires correctly
- Consent Mode v2 wired
- Survives plugin updates
- ✗Zero PHP overhead
works but adds ~80kb of GTM JS just to fire one tag.
Yovale Native
- GA4 fires correctly
- Consent Mode v2 wired
- Survives plugin updates
- Zero PHP overhead
renders below WordPress, validated end-to-end, cache-safe.
what ships when you toggle GA4 on.
IDを貼り付けた瞬間からイベントがDebugViewに届く瞬間まで。
from googletagmanager.com, async, in `<head>` priority 1.
ad_storage + analytics_storage signaled before any event fires.
dataLayer array initialized before gtag(), so events queue cleanly.
snippet baked into cached HTML, consent state on `<html>` class.
questions before you switch hosts for GA4.
Google Analyticsプラグインをインストールする必要がありますか?
いいえ。YovaleはプラットフォームレイヤーでGA4スニペットをレンダリングします。プラグインをスキップすることでPHPメモリが解放され、1つのアップデートチャネルが削除され、WordPressコアアップデート後のトラッキング破損の一般的な原因が排除されます。
これはGoogle Consent Mode v2と連携しますか?
はい。訪問者のanalytics_storageとad_storageのシグナルは、イベントが発火する前にgtagに渡されます。EUトラフィックは2024年3月の施行下でコンプライアンスを維持します。
GA4とGTMを一緒に使えますか?
はい。GTMを同じパネルで別のインテグレーションとして追加し、コンテナ内でGA4を管理させてください。またはYovaleを通じてGA4を直接実行してGTMをスキップすることもできます。どちらの方法も機能します。
ページキャッシュがgtagスニペットを削除しますか?
いいえ。スニペットはキャッシュされたHTMLの一部で、リクエストごとに追加されるものではありません。同意状態は`<html>`のクラスを通じてクライアントサイドで確認されるため、キャッシュキーはシンプルなままです。
誤った測定IDを貼り付けた場合はどうなりますか?
インテグレーションが有効になる前に保存が拒否されます。ダッシュボードは保存時に`G-XXXXXXXXXX`の形式を検証し、MU-pluginはレンダリング時に再検証するため、不正な値が壊れたスクリプトタグを生成することはありません。
other analytics integrations on every site.
GA4を接続したWordPressサイトを初日から公開。
無料トライアル。クレジットカード不要。G- 測定IDを貼り付けて保存し、DebugViewが点灯するのを見てください。