This allows you to distinguish LocalMed pages from your domain pages
By default, Analytics only includes the page path and page name, not the domains name. For example, you might see your pages appear in the Site Content report like this:
- /about/contactUs.html
- /about/contactUs.html
- /products/buy.html
Because the domain names aren’t listed, it might be hard to tell which domain each page belongs to.
To get the domain names to appear in your reports you need to do two things: Create a copy of your reporting view that includes data from all your domains in it and add an advanced filter to that new view. The filter will tell Analytics to display domain names in your reports.
Follow this example to set up a view filter that displays domain names in your reports when you have cross domain tracking set up. For some fields, you need to select an item from the dropdown menu. For others, you need to input the characters here:
- Filter Type: Custom filter > Advanced
- Field A: Hostname Extract A: (.*)
- Field B: Request URI Extract: (.*)
- Output To: Request URI Constructor: $A1$B1
Click Save to create the filter.
You can validate that filters are working as you expect using Google Tag Assistant Recordings. Tag Assistant Recordings can show you exactly how your filters change your traffic.