Tracking Internal and External Referrers

It is sometimes useful to know whether the referring domain is from a page that is internal to the site (an internal referrer) or from a page outside of the site (an external referrer). You can use the referrer_internal column to track whether a referrer is internal or external.
When this column is set to a value of 1, the referrer is understood to be an internal referrer. Otherwise, the referrer is understood to be an external referrer.
In the template jobs, the Rules tab in the Clickstream Parse transformation contains a sample rule called Detect internal referrer for setting the referrer_internal column value to 1. This rule is disabled by default. When enabled, it searches the Referrer_Domain to determine whether the record was referred by an internal domain.