The Hostname(s) field in the Settings tab of each Profile is used to determine a few things:
- Identify internal and external referrals & Calculated Marketing Variables
- Identify Link Type for the Broken Links reports
We recommend using a Regular Expression (RegEx) to populate this field
EXAMPLE 1: if your website is:
www.example.com
You would use a regular expression like this in the Hostname(s) field:
www\.example\.com$
EXAMPLE 2: if your logs contain multiple subdomains, like:
www.example.com and store.example.com and blog.example.com
And you want to combine them into a single profile, you can use regex to match the last part of the domain, like this:
example\.com$
You can also use a more complicated regex statement, like this:
^(www|store|blog)\.example\.com$
0 Comments