Browse the docs

Campaign values aren't captured

What to check when Diagnostics shows no campaign values, from consent settings and blocked cookies to caching and script errors.

Applies to
UTMTrackr 1.32.2 · UTMTrackr Lite 1.1.5
Edition
UTMTrackr
UTMTrackr Lite
Last updated
On this page

You opened a tagged link, but UTMTrackr → Diagnostics shows no values under Current Values (This Browser). Work through these checks in order.

Go to UTMTrackr → Diagnostics, click Open in New Tab on the Test Attribution URL card, then come back and reload Diagnostics. Values are read from the browser you're in, so test and check in the same browser. See Check that tracking works.

To start fresh, click Reset my browser attribution first.

2. Read Attribution Health

On the same tab, Attribution Health checks your setup in this browser and marks each line PASS, WARN, FAIL or N/A (marker 1). WARN often means "set up, but not seen yet": open the test link and reload.

Go to Settings → General → Consent Mode.

  • Off: track on every visit (Default): tracking always runs.
  • Gate on an existing consent cookie (Complianz, CookieYes): nothing is captured until your cookie banner sets the cookie you named in Consent Cookie Name. Accept the banner, then test again. Check that the cookie name matches exactly what your banner sets. If you filled in Required Cookie Value (Optional), the cookie must also have that exact value.
  • Gate on window.UTMTrackr.setConsent() (Cookiebot, OneTrust): nothing is captured until your consent tool calls window.UTMTrackr.setConsent(true). Once it has, later pages count as accepted too. In UTMTrackr Lite 1.1.5, it must call it on every page load.

Attribution Health shows Consent as granted or not for your browser. In manual mode (setConsent), Consent always shows WARN, because the server can't see your consent tool.

4. Check that cookies aren't blocked

Private windows with strict tracking protection, browser extensions, and some security plugins block or remove cookies. Try a normal window with extensions off. If it works there, the blocker is the cause.

5. Check for a script error

UTMTrackr's tracking script runs in the browser. An error from another script earlier on the page can stop it. Open your browser's developer tools on a page with a tagged link and look at the Console for red errors.

If Tracking in Attribution Health says the script is missing or not set to load, reinstall the plugin. This check can't see a script that is blocked or delayed in the browser.

6. Caching and optimisation plugins

UTMTrackr reads the link and writes its cookies in the visitor's browser, so a cached page still captures campaigns. Its script loads deferred in the footer, with its settings written inline on the page.

  • Exclude anything containing utmtrackr from "delay JavaScript" and "combine JavaScript", then clear the cache.
  • After you change UTMTrackr settings, clear the page cache too, because cached pages keep the old settings.
  • With a "delay JavaScript" feature on (WP Rocket, LiteSpeed Cache, Perfmatters, FlyingPress and others), capture only happens after the visitor interacts with the page.

Still not working?

Contact support with your Attribution Health results and any Console errors.

For consent problems only: Debug Mode (Settings → Advanced) records when consent blocked a read, in the Debug Event Log on the Diagnostics tab. Turn it off again afterwards.

Still need help?

Contact support. What support covers is in our support policy.

Using UTMTrackr Lite? Ask on its WordPress.org support forum.