下面的代码是向 HTML 请求添加引用标签所必需的吗?
我已经在我的个人网站上测试了这段代码,虽然我可以看到来自其他网站的推荐出现在 Google Analytics 的报告中,但名为 mysite 的推荐人并未出现,即使我等待一两天以确保 GA 已更新其报告.
IDhttp1.Create(Self);
IDhttp1.HandleRedirects := TRUE;
IDhttp1.Request.Referer := 'http://www.mysite.com';
IDhttp1.Get(URL); // ignore result. Just done to hit the site with the referer string