Full Answer
Debugging Measurement Protocol: Step 1: Use debug endpoint Step 2: Log everything Step 3: DebugView verification Add to payload: Watch in GA4 → Configure → DebugView Common errors: | Error | Cause | Fix | |-------|-------|-----| | 403 | Invalid API secret | Regenerate secret | | No response | Wrong endpoint | Check URL | | Missing in reports | Invalid client_id | Check format | | Wrong data | Malformed JSON | Validate JSON | Checklist: 1. ✓ Debug endpoint returns valid 2. ✓ HTTP 204 on production...