Hi,

We are using shareasale affiliate program. I added tracking code to the confirmation code, but they have a separate piece of code that is required for when customers check out with Google Checkout.

Does anyone know which option below should be used and where it should be placed in aspdnsf? Thanks in advance!

----------------------------------

Google Checkout will allow you to include tracking pixels on the order confirmation page, through their Web Beacon feature.
If you are using Google's shopping cart (HTML API) integration method, you will need to place the following code:

<form id="googlecart-checkout-config">
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.url" value="https://shareasale.com/sale.cfm?transtype=sale&amp;merchantID=XXXX"/>
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.parameters.url-parameter-1.name" value="tracking"/>
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.parameters.url-parameter-1.type" value="order-id"/>
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.parameters.url-parameter-2.name" value="amount"/>
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.parameters.url-parameter-2.type" value="order-subtotal"/>
</form>Where you replace the XXXX with your ShareASale Merchant ID number.
Please place this code on the same page as your checkout button, below any other Google checkout code you have on that page.



--------------------------------------------------------------------------------


If you are using Google's Buy Now Button integration method, you will need to add the following code to each of your Buy Now buttons:

<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.url" value="https://shareasale.com/sale.cfm?transtype=sale&amp;merchantID=XXXX"/>
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.parameters.url-parameter-1.name" value="tracking"/>
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.parameters.url-parameter-1.type" value="order-id"/>
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.parameters.url-parameter-2.name" value="amount"/>
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.parameterized-urls.parameterized-url-1.parameters.url-parameter-2.type" value="order-subtotal"/>
Where you replace the XXXX with your ShareASale Merchant ID number.
Please place this code above the closing form tag in your Buy Now button.



--------------------------------------------------------------------------------

If you are using Google's XML API integration method, please use the code below:

In your Cart XML, you will need to include an XML tag for parameterized-url. For ShareASale.com, your code should look like this:

...
<merchant-checkout-flow-support>
<parameterized-urls>
<parameterized-url url="https://shareasale.com/sale.cfm?transtype=sale&amp;merchantID=XXXX">
<parameters>
<url-parameter name="tracking" type="order-id" />
<url-parameter name="amount" type="order-subtotal" />
</parameters>
</parameterized-url>
</parameterized-urls>
...
</merchant-checkout-flow-support>
...Where you replace the XXXX with your ShareASale Merchant ID number.
For more details, please see Google's documentation: http://code.google.com/apis/checkout..._tracking.html