My goal is to create a Google Analytics filter that "includes only" 2 host names.
For example, include only:
- www.example.com
- www2.example.com
The desired result is that Google Analytics reports display traffic only from www.example.com and www2.example.com.
Is there a way to accomplish this?
Yes you can do this by seperating sources with pipe "|"
Here is Google documentation:
Check these links for more information
https://support.google.com/analytics/answer/1034832?hl=en&ref_topic=1034830
https://support.google.com/analytics/answer/1034842?hl=en