Using UTM with Multiple Sites

Multiple Sites - Same Root Domain
Multiple sites with the same domain (e.g., www.example.com and help.example.com) can either be processed together or separately, depending on the UTM Domain setting of the two sites. If the UTM Domain is set to the default, "auto", then the two sites will be processed separately. This means that Visitor tracking information will be kept separate for each site. Visitor reporting for one site will not be affected by visitor traffic to other site.

Process Together
If you wish to process the sites together, sharing Visitor tracking information, then the UTM Domain can be explicitly set to the common domain (e.g., example.com). You will need to set this in the UTM code and the Urchin configuration. To set this in UTM code, edit the __utm.js file in the document root of each site. Towards the top, you will see the line:

   var __udn="auto";    /*-- ...

Change the word "auto" to the common domain:

   var __udn="example.com";    /*-- ...

Next, in the Urchin configuration, create a single Profile with UTM activated, and set the UTM Domain to the common domain. You will be processing the logs from both sites in the same Profile.

In processing the logs for two sites together, it is recommended to apply a Filter to one of the logs in order to distinguish pages and paths. For the www.example.com and help.example.com example, inserting '/help' in front of the URLs for help.example.com log will allow you distiguish between http://www.example.com/foo.html and http://help.example.com/foo.html. The resulting pages will be referenced as "/foo.html" and "/help/foo.html", respectively.

Create a search and replace filter on the 'request_stem' field with the following settings:

   Filter Field:   request_stem
   Search String:  ^/
   Replace String: /help/

In our example, this filter would then be applied to the log file for help.example.com. Running the two separate Log Sources together will require an additional Load Balanced Server Module in the license. Please contact your sales representative for details.