I am in need of a programmer asap, i am trying to get the Webgains pixel tracking to work with Google Checkout, i am using xcart. I have inserted the following: <parameterized-urls> <parameterized-url url="https://track.webgains.com/transaction.html?wgver=1.1&wgprogramid=programid&wgrs=1&wgeventid=3404&wgitems="> <parameters> <url-parameter name="wgorderreference" type="order-id"/> <url-parameter name="wgvalue" type="order-total"/> </parameters> </parameterized-url> </parameterized-urls> Code (markup): and on the final checkout page of google i'm getting this: <script type="text/javascript"> function loadAnalytics() { analytic1 = new Image(); analytic1.src = "http://track.webgains.com/transaction.html?wgver\x3d1.1\x26wgprogramid\x3dprogramid\x26wgrs\x3d1\x26wgeventid\x3d3404\x26wgitems\x3d\x26wgorderreference\x3d813990644670605\x26wgvalue\x3d1.91"; } </script> Code (markup): the url should be: xxhttps://track.webgains.com/transaction.html?wgver=1.1&wgprogramid=programid&wgrs=1&wgeventid=3404&wgitems=&wgorderreference=1007&wgvalue=1.91 Any deas why there is loads of letters and numbers added?
\x means escape characters.. i.e \x3d equal to %3d on HTML encoded URL You just replace all \x instance into % to make your URL valid.
Can you modify this code to what it should be then please: <parameterized-urls> <parameterized-url url="https://track.webgains.com/transaction.html?wgver=1.1&wgprogramid=programid&wgrs=1&wgeventid=3404&wgitems="> <parameters> <url-parameter name="wgorderreference" type="order-id"/> <url-parameter name="wgvalue" type="order-total"/> </parameters> </parameterized-url> </parameterized-urls> Code (markup):
Your code above is alright. You just need to re-parse the result code from google final checkout page. If you still can't do it.. Then I'll help you.
$20 for who ever can help me fix this, from what i can see the = equals sign is causing all the extra letters.
Right, still need help. The problem is the equals signs = are being replaced by \x3d and the & is being replaced by \x26 I have no problem tracking the sale if the customer clicks the return to Fragrance Zone button, but the idea of third party pixel tracking is to track the sale from the actual google checkout page so affiliates don't lose the sale since some customers will not click the button. I need to get this working soon so am willing to pay $50+
I have had 2 coders look at the code and they can't figure out, could do with getting this working so i am boosting the price to $150 if someone can get this working.