Google Checkout & Webgains

Discussion in 'Programming' started by cycloneuk, Jan 18, 2009.

  1. #1
    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&amp;wgprogramid=programid&amp;wgrs=1&amp;wgeventid=3404&amp;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?
     
    cycloneuk, Jan 18, 2009 IP
  2. chmdznr

    chmdznr Active Member

    Messages:
    417
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    \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.
     
    chmdznr, Jan 18, 2009 IP
  3. cycloneuk

    cycloneuk Guest

    Messages:
    472
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    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&amp;wgprogramid=programid&amp;wgrs=1&amp;wgeventid=3404&amp;wgitems=">
          <parameters>
            <url-parameter name="wgorderreference" type="order-id"/>
            <url-parameter name="wgvalue" type="order-total"/>
          </parameters>
        </parameterized-url>
      </parameterized-urls>
    Code (markup):
     
    cycloneuk, Jan 18, 2009 IP
  4. chmdznr

    chmdznr Active Member

    Messages:
    417
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    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.
     
    chmdznr, Jan 18, 2009 IP
  5. cycloneuk

    cycloneuk Guest

    Messages:
    472
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    I have no idea how to do that.
     
    cycloneuk, Jan 18, 2009 IP
  6. cycloneuk

    cycloneuk Guest

    Messages:
    472
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    $20 for who ever can help me fix this, from what i can see the = equals sign is causing all the extra letters.
     
    cycloneuk, Jan 18, 2009 IP
  7. nobodynowhere

    nobodynowhere Banned

    Messages:
    151
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    Hello there,

    I can get this done right now,

    Sending you PM
     
    nobodynowhere, Jan 18, 2009 IP
  8. cycloneuk

    cycloneuk Guest

    Messages:
    472
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    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+
     
    cycloneuk, Jan 18, 2009 IP
  9. cycloneuk

    cycloneuk Guest

    Messages:
    472
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    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.
     
    cycloneuk, Jan 22, 2009 IP