I have a reporting view setup with a filter to show only the traffic to the subdomain. I can see in realtime view that it is correctly showing only traffic to the subdomain. However, it seems that no virtual page views are getting through the to this reporting view.

If i view the standard unfiltered view I can see the virtual page views are firing correctly.

The filter I have is as follows:

  • Predefined,
  • Include Only
  • Traffic to the hostname
  • That contain
  • xxxx.example.com

The only thing that I can think of is that maybe the host name is not getting set correctly. When you send the virtual pageview you could set it explicitly like this:

ga('set', 'hostname', 'xxxx.example.com');
ga('set', 'page', '/new-page.html');
ga('send', 'pageview');

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.