Google Urchin settings: Tracking all subdomains in a site in a configuration file

Source: Internet
Author: User
Tags filter

How do I keep track of all the subdomains in a Web site in a configuration file? It includes two parts: one is to define the main domain in the page under all the domain names, and the other is to distinguish the file information under different domain names in the configuration file.

One, Code Setup

Tracing a child domain in the same configuration file used by the primary domain requires adding a row to the tracking code for each page in the subdomain. The following instructions assume that this configuration file is set in the case where the primary domain is a listed site, such as example.co.uk. Add the following lines (shown in bold) to the tracking code for all child domain pages and primary domain pages:

<script src= "/urchin. js" type= "Text/javascript" >
</script>
<script type= "Text/javascript" >
_udn= "example.co.uk";
</script>

This row should refer to the primary domain (example.co.uk).

Note that although this change allows you to track individual subdomains in a configuration file, your report may not be able to distinguish between pages from www.example.co.uk and help.example.co.uk. For example, in the most common content report, you may see www.example.co.uk/index.html and help.example.co.uk/more.html clicks, but the report will display the following:

/index.html

/more.html

Second, the use of filters to distinguish between URLs

If the area is a domain, you can create an advanced filter for the profile by following these settings:

  

After using this filter, the URL in common content displays the part of the domain:

  

Original: http://www.searchmarketingart.com/how-to-track-subdomains-in-one-profile.html



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.