作者:噬血--男爵_380_203 | 来源:互联网 | 2023-05-17 17:55
I have a Rails app where I set a set a session variable the moment a user lands on my site with the referer and the page they hit. Additionally, I have Google Optimizer sending traffic from my homepage to various landing pages. The problem is that I think Google Optimizer is sending users away before the COOKIE is set.
我有一个Rails应用程序,当用户使用引用者和他们点击的页面登陆我的网站时,我设置了一个会话变量。此外,我还有Google Optimizer将流量从我的主页发送到各个目标网页。问题是,我认为Google Optimizer会在设置COOKIE之前将用户发送出去。
Is that even possible? I believe that the COOKIE is set from the HTTP Header, which must have fully loaded before Google's Javascript has even loaded.
这有可能吗?我相信COOKIE是从HTTP Header设置的,在Google的Javascript加载之前必须已经完全加载。
Thanks, Jason
2 个解决方案