Why isn't GA4 working on my Dawn theme?

Topic summary

Issue: After adding Google Analytics 4 (GA4) tracking code to the head section of Shopify’s Dawn theme (in theme.liquid), no data is appearing in the Google Analytics account.
Context: The code was added yesterday.
Notes: GA4 = Google Analytics 4; theme.liquid is the main layout file where head content is placed.
Status: No troubleshooting steps, confirmations, or replies are provided yet; the cause is unclear and the issue remains unresolved.

Summarized with AI on February 2. AI used: gpt-5.

I add the GA4 code yesterday on the head tag in theme.liquid and still I don’t receive any data in my GA account