It sounds like you're trying to integrate Google Analytics 4 (GA4) into Webflow using the measurement ID, but the analytics data isn't being recorded properly.
1. Confirm You’re Using the Correct Analytics ID
- For GA4, the ID should begin with G-, such as G-XXXXXXXXXX.
- Make sure you're not using the older UA-XXXXXXXXX-X format, which is for Universal Analytics (now sunset).
2. Add the Measurement ID in the Right Place
- Go to Project Settings in Webflow.
- Click on the Integrations tab.
- Scroll to the Google Analytics section.
- Paste your G-XXXXXXXXXX ID in the field labeled Google Analytics 4 Measurement ID.
- Do not paste the entire script—just the ID string.
3. Remove Any Custom GA4 Script (If Added Separately)
- If you've added a manual GA4 script via Custom Code (Inside or ), remove it to avoid conflicts.
- Webflow injects the script automatically when you enter the Measurement ID in the Integrations tab.
4. Publish to the Live Domain
- Changes only apply to the published site, not the Webflow Designer or webflow.io staging URL.
- Click Publish and select the custom domain where the integration is active.
5. Use Google Tag Assistant or DebugView
- Use Google Tag Assistant (Chrome Extension) to verify if the GA4 tag is firing.
- Or, go to Google Analytics > Admin > DebugView to see if any events are being tracked in real-time.
6. Check Ad-blockers and Browsers
- Some ad-blockers or privacy browsers (e.g. Brave) block Google Analytics scripts.
- Test in Incognito mode or with ad-blockers disabled.
7. Verify Domain & Stream Settings in GA4
- Make sure the domain where Webflow is published is added under "Web stream details" in GA4 settings.
- Look for enhanced measurement being enabled to automatically track key events.
8. Wait for Data to Appear
- Data in GA4 may take a few minutes to populate.
- Use real-time reports to verify initial activity.
Summary
To fix GA4 tracking in Webflow, ensure you're using your G-XXXXXXXXXX ID in the Integrations tab, remove any redundant custom code, and test it on your published live domain using DebugView or Google Tag Assistant. Disable ad-blockers when testing, and allow some time for data to appear.