| Chỉ mục bài viết |
|---|
| Google Analytic Cross-Domain Tracking |
| Google Analytic Cross-Domain Tracking |
| Google analytic Cross-Domain Tracking 3 |
| Tất cả các trang |
Cross-Domain Tracking
This document describes a variety of ways to use cross-domain tracking customizations when you want to collect visits to multiple domains in a single profile—as if they were a single site rather than two separate ones. It also covers how to track portions of a website, such as sub-directories and iFramed content. If you are unfamiliar with the general process of cross-domain tracking, see Domains and Directories in our Help Center.
Introduction
A default setup of Google Analytics is designed to track content and visitor data for a single domain, such as www.example.com.
However, suppose you want to use Analytics for more complex situations, such as tracking:
- Subdomains—all visitors to both
dogs.example.comandwww.example.com, with data for both showing in the same report profile - Subdirectories—only visitors to the
www.example.com/dogssubdirectory in a separate report as if it were a single site - 3rd-party shopping carts—visitors to your online store and to your shopping cart hosted on another domain
- Top-level domains—all visitors to two domains that you own, such as
www.example-petstore.comandwww.my-example-blog.com, with data for both showing in the same report profile - IFramed Content—visitor and pageview data for content in an iFrame of another domain.
In any of these cases, you'll need to do some customization to the tracking code in order to correctly track visitors. Before doing this, it's a good idea to read how Domains and Directories are treated in a default Analytics installation.
Tracking Scenarios
This section covers a variety of tracking scenarios, ordered by the most popular methods.
Tracking Across Multiple Domains and Sub-domains
In this scenario, you might want to track two unique domains and one sub-domain. For example, suppose you have an online store and you also want to track visitor and campaign data to your blog.

The following shows key tracking code customizations for three example URLs.
- Online Store Domain:
www.example-petstore.com
Traditional (ga.js) syntaxThe only links or form data that you need to customize are those that point to
www.my-example-blogsite.com. This is not required for links to the sub-domain of this site, since the_setDomainName()function defined.example-petstore.comas the domain to enable cookie access for any other subdomains. - Online Store Subdomain:
dogs.example-petstore.com
Traditional (ga.js) syntaxLinks back to the primary domain do not need configuration because the sub-domain shares the same cookies with the primary domain.
- Blog Domain:
www.my-example-blogsite.com
Traditional (ga.js) syntaxThis configuration sets the domain name to the top-level domain for the blog site. In this way, if you later add any sub-domains for the blog site, that sub-domain will be able to share cookies with its parent and you will not need to set up special linked calls between them. However, you still must use the
_link()and_linkByPost()methods for any form or links towww.example-petstore.com.
- 29/12/2010 10:46 - Thuật ngữ Google Adsense
- 14/12/2010 00:00 - AdSense hỗ trợ những ngôn ngữ nào?
- 14/08/2009 08:31 - Google PageRank - Thước đo thứ hạng website
Asynchronous syntax
Download Game bóng đá PES8 Việt Nam
Tải game bóng đá FiFa 09
Tải game Dragon ball Z - 7 viên ngọc rồng
Tải Game Bóng Đá Pro Evolution Soccer 6 Việt Nam
Download PES 2011 patch Việt Nam PESVN
Tải Game Bóng Đá FIFA 2009 RIP 1 CD
Download Pro Evolution Soccer 2011
Download Game THE SIMS 3
Tải Game bóng đá PES 2009
Download PES 2011 demo
Thay đổi màn hình đăng nhập Windows 7 bằng tay
Một số hàm hay dùng trong JavaScript
Kiểm soát hoàn toàn trỏ chuột bằng bàn phím với NeatMouse
Choáng với concept của Windows Phone 8
Những đặc điểm ưu việt của Windows Phone
Ứng dụng gọi điện VoIP Viber sắp có mặt trên Windows Phone
Game Diablo 3 sắp có mặt trên Windows Phone Marketplace
37 trang css & xhtml web template miễn phí tuyệt đẹp
Những điều cơ bản cần biết về bàn phím chơi game - Gaming Keyboard
L.A. Noire: The Complete Edition - THETA [Full ISO/Action/2011] [13.37GB]
Download 7554 demo
Download Game PC, cập nhật liên tục (torrent)
PES 2012 ra mắt bản mở rộng đầu tiên vào 11/10
PES2012 - Full version - Ngôn ngữ và bình luận tiếng Anh
PES2012 - Blurry disable làm mịn đồ họa
PES 2011 PATCH 4.1 - TRANSFER UPDATE - RELEASED
Bộ sưu tập free PrestaShop Themes phần 3
Bộ sưu tập theme Prestashop miễn phí phần 2
Top 10 Free PrestaShop Themes
Download Prestashop 1.5
Download PrestaShop 1.4
Bổ sung Memcached vào PrestaShop 1.4
Hướng dẫn tích hợp Ngân Lượng vào PrestaShop
Sửa lỗi invalid carrier or no carrier selected trong PrestaShop
Cài đặt PrestaShop
Thiết kế giao diện PrestaShop Theme
Hướng dẫn cài đặt themes trong PrestaShop
Hướng dẫn cách thêm ngôn ngữ cho PrestaShop
Bộ sưu tập Giao diện Premium PrestaShop Themes chuyên nghiệp
Giới thiệu về website thương mại điện tử 2.0 Prestashop
Firefox cho di động sẽ sớm ra mắt trước năm 2010
Phần 3 - Hệ thống phân giải tên miền DNS Server
SUPER AntiSpyware siêu chống gián điệp


