How To Fix Redundant Hostnames In Google Analytics

Fix for Redundant Hostnames With a Filter in Google Analytics

  1. Go to the admin section.
  2. Click on Filters on the 3rd column VIEW, then click the red button +Add FilterAdd filter button Google Anlaytics
    1. Enter "Consolidate hostnames" as name and select Custom for filter type
    2. From the radio button list select Search and replace (you might need to scroll a little).how-to-fix-the-redundant-hostname-error-in-google-analytics
      1. Configure the filter depending on how you want your hostname to appear.
        • Converting WWW to non-www
          • Filter Field: Hostname
          • Search String: ^www\.
          • Replace String: leave it empty
        • Converting non-www to WWW
          • Filter Field: Hostname
          • Search String: ^yourdomain\.com$
          • Replace String: www.yourdomain.com
      2. Save your filter and continue to the next part (You can click verify this filter before saving to have a quick glance of how it will work)

Post a Comment

0 Comments