Applying filters so each profile only shows traffic on the domain it was set up for. Here is how we can add filters in the Google Analytics Admin(Considering 2 accounts - main domain only and subdomain only):
First of all, select the drop-down profile for the main domain and now “add filter”, new screen would be displayed like this:
A. Main Domain only:
1. Select “Add new Filter for Profile”
2. Filter Name: “Base Domain Only” (or your own description)
3. Filter Type: Custom Filter
4. Select “Include”
5. Filter Field: “Hostname”
6. Filter Pattern: (www\.|^)yourdomain\.com
7. Case Sensitive: No
8. Save it.
B. Sub Domain only: “Add filter” like below:
1. Select “Add new Filter for Profile”
2. Filter Name: “Subdomain Only” (or your own description)
3. Filter Type: Custom Filter
4. Select “Include”
5. Filter Field: “Hostname”
6. Filter Pattern: sub\.yourdomain\.com
7. Case Sensitive: No
8. Save it.
First of all, select the drop-down profile for the main domain and now “add filter”, new screen would be displayed like this:
A. Main Domain only:
1. Select “Add new Filter for Profile”
2. Filter Name: “Base Domain Only” (or your own description)
3. Filter Type: Custom Filter
4. Select “Include”
5. Filter Field: “Hostname”
6. Filter Pattern: (www\.|^)yourdomain\.com
7. Case Sensitive: No
8. Save it.
B. Sub Domain only: “Add filter” like below:
1. Select “Add new Filter for Profile”
2. Filter Name: “Subdomain Only” (or your own description)
3. Filter Type: Custom Filter
4. Select “Include”
5. Filter Field: “Hostname”
6. Filter Pattern: sub\.yourdomain\.com
7. Case Sensitive: No
8. Save it.
Comments
Post a Comment