GA4 is not tracking
Work through the checks in order. Most cases end at the first or second one.
1. Was consent given?
GA4 stores and reports visits with cookies only after the visitor allows Analytics. Test it like a new visitor:
- Open the site in a private window (no stored choice, no ad blocker).
- Click Accept all, or allow Analytics in Customize.
- Open GA4 → Reports → Realtime, or Admin → DebugView while GTM Preview is running.
In the browser's developer tools (Network, filter collect), each GA4 request carries the consent state in the gcs parameter. The last digit is analytics_storage:
gcs | Meaning |
|---|---|
G100 | nothing granted: GA4 measures without cookies |
G101 | analytics granted, ads denied |
G111 | analytics and ads granted |
If the requests still say G100 after you allowed Analytics, the update did not reach the tag. Go to step 5.
2. Who inserts the GA4 tag?
The tag comes from exactly one place, and that place decides what you check next:
- LandexHub Consent loads it: a GTM container or a gtag.js ID under Services → Add measurement. With a GTM container, the GA4 tag must also be in the container, and the container must be published. A tag that exists only in Preview measures nothing for visitors.
- Another plugin (Site Kit by Google, MonsterInsights, GTM4WP, a WooCommerce tracking plugin) loads it. That plugin decides how it treats consent. See Consent integrations for the plugins whose channel LandexHub Consent uses.
- Your theme prints it. It must come below
wp_head(), see Option B.
Services shows each Google tag on your front page with its ID and where it is added.
3. Is the tag inserted twice?
The same ID loaded from two places measures every visit twice or behaves unpredictably. Typical causes are the ID set in LandexHub Consent and a snippet in the theme, or GTM in LandexHub Consent and Site Kit inserting gtag.js with the same measurement ID.
LandexHub Consent warns you when it finds the ID you configured in it somewhere else on the front page. Keep one source and remove the other. See One integration method at a time.
4. What is normal before consent
Before the visitor decides, these are expected and not a fault:
- No
_gacookies. GA4 may not store anything until Analytics is allowed. - Fewer users in GA4 than visits on the server. Visitors who reject or never decide are not counted as users. In Advanced mode Google models part of the gap. In Basic mode it does not.
- Advanced mode (the default): GA4 sends requests with
gcs=G100. They carry no identifier and do not show up in Realtime as users. - Basic mode: the gtag.js ID set in LandexHub Consent does not load at all until consent, so no GA4 request is sent. See Basic or Advanced?
LandexHub Consent does not block Google tags in Advanced mode. If measurement starts only after consent although you use Advanced mode, check whether you gated the tag by hand (see the FAQ).
5. What Tag Assistant says
Open GTM → Preview (Tag Assistant) and look at the Consent tab of the first event.
"A tag read consent state before a default was set"
Something in the container read the consent state before LandexHub Consent set its default. The container loads above the LandexHub Consent bootstrap. Load GTM through LandexHub Consent (Option A) or move your snippet below wp_head(). See Load order.
analytics_storage is Granted under On-page Default
Another plugin or a snippet sends its own default that grants analytics before consent. The Consent integrations screen reports such a default.
analytics_storage stays Denied under Current State after you accepted
The update did not arrive. Check that the bar saved the choice: the landexhub_consent cookie exists, and landexhub_consent_update appears in the event list with analytics: true. Check also that no optimisation plugin delays the LandexHub Consent scripts (see Banner is not showing).
The GA4 tag shows "Not fired"
Open the tag. A GA4 tag needs no extra consent settings. If Require additional consent for tag to fire lists analytics_storage, the tag waits for consent even in Advanced mode. If it uses a trigger on landexhub_consent_update, the trigger needs the condition landexhub_consent.analytics equals true (see Firing on consent change).
Still nothing?
Ask on the support forum with the page address, how the tag is inserted (step 2) and what the Consent tab in Tag Assistant shows.