加雷思,這只是一個想法;我以前沒有這樣做過。
但是是否可以傳遞一個唯一的引用給巴克萊,然後在重定向到他們之前將cookie信息存儲在數據庫中。
然後,當您從巴克萊獲得請求時,是否可以從請求中讀取先前傳遞的唯一引用,查找cookie值,然後向Google Analytics(分析)gif傳遞httpwebrequest,傳遞cookie值。
http://www.google-analytics.com/__utm.gif //from http pages
https://ssl.google-analytics.com/__utm.gif //from https pages
?utmwv=1 //Urchin/Analytics version
&utmn=634440486
&utmcs=UTF-8 //document encoding
&utmsr=1440x900 //screen resolution
&utmsc=32-bit //color depth
&utmul=nl //user language
&utmje=1 //java enabled
&utmfl=9.0%20%20r28 //flash
&utmcr=1 //carriage return
&utmdt=Linklove » The optimum keyword density //document title
&utmhn=www.vdgraaf.info //document hostname
&utmr=http://www.google.nl/search?q=seo+optimal+keyword+density&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_nlNL210NL211 //referer URL
&utmp=/the-optimum-keyword-density.html //document page URL
&utmac=UA-320536-6 //Google Analytics account
&utmcc= //cookie settings
__utma=
21661308. //cookie number
1850772708. //number under 2147483647
1169320752. //time (20-01-2007) cookie first set
1172328503. //time (24-02-2007) cookie previous set
1172935717. //time (03-03-2007) today
3;+
__utmb=
21661308;+ //cookie number
__utmc=
21661308;+ //cookie number
__utmz=
21661308. //cookie number
1172936273. //time (03-03-2007) today
3.
2.
utmccn=(organic)| //utm_campaign
utmcsr=google| //utm_source
utmctr=seo+optimal+keyword+density| //utm_term
utmcmd=organic;+ //utm_medium
GET請求信息是從here和here
嗨史蒂芬很高興收到你的來信。感謝您的回答,我正在考慮這些方面。我只需要嘗試一下就可以了(希望不會在我們的分析帳戶中引發紅旗!)我們確實創建了自己的訂單ID,可以在barclays重定向之前附加cookie值,我希望也傳遞客戶端IP地址,希望這會將服務器端跟蹤數據附加到同一個客戶端分析會話。我懷疑某些__utm值需要更新,但遺憾的是沒有穩定的谷歌解決方案。 – 2012-01-10 09:32:48
嘿Gareth,很高興聽到你的消息,我能想到的唯一另一種選擇是,而不是使用巴克萊作爲支付網關,只是將它們用於他們的商家帳戶並使用第三方,如反覆/ braintree。我相信他們允許您直接向他們發佈cc詳細信息,然後他們處理付款並通過客戶令牌/名稱/地址詳細信息重新導向您的成功頁面。這將得到大部分PCI要求(我假設這就是爲什麼你重定向到巴克萊)。祝你好運! – WooHoo 2012-01-10 10:29:08
謝謝Steven,我會研究它 – 2012-01-10 14:48:34