GA4 - How do I only allow specific domains and filter out localhost

Viewed 256

How do I only allow google analytics 4 to get data from my approved domains rather than things like localhost etc? Does this feature exist?

1 Answers

So far [December 2020], there’s actually no way to create a valid hostname filter in GA4. You have to create a segment in the interface to analyze the data that interests you.

Related