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.
Google Analytics 如何知道访问者访问我们网站时的位置?我知道引荐来源是 Google 搜索或 Google Ads,但它如何知道用户点击了 LinkedIn 或 WhatsApp 上的链接?
Google Analytics 可以从 document.referrer 了解 Linkedin.com 等来源,但他无法了解 Whatsapp 或 Outlook 桌面等来源,因此它将是直接流量。您可以将 UTM 参数附加到 URL 的查询字符串以强制自定义源/媒体。