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 URL Builder (UTM) 的情况下,谷歌将如何跟踪从 site1 到 site2 的推荐路径?
谁能回答我的问题?
您可以使用纯 javascript document.referrer
if ('referrer' in document) { if (document.referrer != '') ref = encodeURIComponent(document.referrer); }