HomeTroubleshooting Hub › Values wrong or truncated

Values wrong or truncated

Purpose: Diagnose data quality issues.

Who this page is for

AudienceWhy it matters to you
AnalystsSpot bad data
ImplementersFix issues

Values Wrong or Truncated

Data is showing, but values are wrong or cut off.

Issue: Values truncated

Problem: Page names showing "Customer Contact Form - Report a..." (truncated)

Cause: Values > 255 bytes are truncated

Fix:

  1. Make page names shorter
  2. Use abbreviations
  3. Or use a prop instead (for shorter values)

Issue: Values merged incorrectly

Problem: Same page shows as two values:

Cause: Analytics is case-sensitive

Fix: Use processing rule to lowercase all page names

If: Page Name is set
Then: Set Page Name = lowercase(Page Name)

Issue: Page names are URLs

Problem: prop showing: "/en/product/iphone-15-pro?ref=search&campaign=summer"

Cause: Implementation is sending full URL instead of clean page name

Fix: In your data layer, send clean page name:

// WRONG
s.pageName = window.location.href;

// RIGHT
s.pageName = "Product - iPhone 15 Pro";

Issue: Event values wrong

Problem: event1 showing 0 value (should be count)

Cause: Events aren't numeric

Fix: Events can be:

Make sure you're sending numbers, not text:

// WRONG
s.events = "event5=purchase_amount"

// RIGHT
s.events = "event5";
s.eVar1 = "99.99"; // revenue in separate var

Issue: Segments not matching

Problem: "Mobile visitors" segment shows 0 traffic, but Mobile device type shows data

Cause: Segment container mismatch

Fix: Check your segment:

---

Next: Low Traffic and cardinality

Quick navigation