2

我有一个连接到以下域的 UA 帐户:http : //www.mytestdomain.com,帐户 ID 为 UA-123456-1

我没有使用 analytics.js,因为此代码是通过 ruby​​ Gem 从服务器触发的。

当我尝试跟踪链接域时,它运行良好:

http://www.google-analytics.com/__utm.gif?utmwv=4.4sh&utmn=7108653235&utmhn=mytestdomain.com&utmcs=UTF-8&utmul=en-us&utmdt=PAGE_VIEW_TITLE&utmhid=6413225625&utmp=4.html&utmac=UA-123465-6&utmcc=__utma%3D1.197975304100145214523.2102153242.1405604565.1405604565.15%3B%2B__utmz%3D1.1405604565.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmr=&utmip=

但无法跟踪其他域:

http://www.google-analytics.com/__utm.gif?utmwv=4.4sh&utmn=7108653235&utmhn=notmydomain.com&utmcs=UTF-8&utmul=en-us&utmdt=PAGE_VIEW_TITLE&utmhid=6413225635&utmp=4.html&utmac=UA-123465-6&utmcc=__utma%3D1.197975304100145214523.2102153242.1405604565.1405604565.15%3B%2B__utmz%3D1.1405604565.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmr=&utmip=

我应该怎么做才能跟踪其他域?

相关:gabba gem 不跟踪不同的域

4

0 回答 0