Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有个问题。我需要从谷歌分析中获取特定子域的访问者历史记录。通过他们的 API。我在文档中找不到它。
你有没有解决它并解决它?
您需要按主机名过滤
过滤器=ga:hostname=~subdomain.domain.com
这是维度参考中的文档https://developers.google.com/analytics/devguides/reporting/core/dimsmets/pagetracking#ga:hostname