When logged into your account on the successful checkout page (Settings > Checkout > Order Complete Page)
QuickLink if you’re already logged in is: http://youraccount.ekmpowershop2.com/ekmps/shops/settings_shop_checkoutfields_6.asp
Here’s code example (with made up conversion id and label data):
this data goes at the bottom of the successful checkout page source
<!– Google Code for Sale Conversion Page –>
/* <![CDATA[ */
var google_conversion_id = 1234567890;
var google_conversion_language = “en”;
var google_conversion_format = “3”;
var google_conversion_color = “ffffff”;
var google_conversion_label = “ab-CDEfghIJKlMn1_AB”;
var google_conversion_value = [ekm:totalcost_number_only];
/* ]]> */
<img height=”1″ width=”1″ style=”border-style:none;” alt=”” src=”http://www.googleadservices.com/pagead/conversion/1234567890/?value= [ekm:totalcost_number_only] &label= ab-CDEfghIJKlMn1_AB &guid=ON&script=0″/>
- If you have more than one payment method e.g. telephone, paypal etc you will need to add this code to the source of each payment method’s “checkout complete” page.
- The ekm powershop database/server code escapes any (“) with a slash e.g. (\”)
it double escapes this if the user changes something then updates the page source again
replacing every double quote (“) in the google code with single (‘) will prevent this happening.
- Make sure you do a dummy run throught the checkout process and view page source on the order complete page to verify the code looks as it should.
If you have more than one payment method e.g. telephone, paypal etc you will need to add this code to the source of each payment method’s “checkout complete” page.