{"id":27,"date":"2006-09-04T19:08:01","date_gmt":"2006-09-05T01:08:01","guid":{"rendered":"https:\/\/www.visualfuture.com\/davetech\/2006\/09\/04\/google-adwords-and-the-new-yahoo-checkout-wow-that-was-easy\/"},"modified":"2006-09-05T16:09:41","modified_gmt":"2006-09-05T22:09:41","slug":"google-adwords-and-the-new-yahoo-checkout-wow-that-was-easy","status":"publish","type":"post","link":"https:\/\/www.visualfuture.com\/davetech\/2006\/09\/04\/google-adwords-and-the-new-yahoo-checkout-wow-that-was-easy\/","title":{"rendered":"Google AdWords and the &#8220;new&#8221; Yahoo! checkout, &#8220;Wow, that was easy!&#8221;"},"content":{"rendered":"<p>Trying to get the &#8220;real value&#8221; of a sale from a Yahoo! store, and then pass it to the Google AdWords code used to be a nightmare!  To be more honest, getting just about anything made by Google to work with anything made by Yahoo! was typically a challenge.<\/p>\n<p>Thus, I felt getting the new cart to work with AdWords would be a time consuming chore.  Not only was I wrong, I was wrong enough to have time to write this post!<\/p>\n<p>Anyway, the good stuff:<br \/>\nIn the new Yahoo! store  checkout, the  order confirmation page comes complete with a set of javascript variables loaded up with info about that order.  Namely:<\/p>\n<pre>var orderSubTotal = '129.95';\r\nvar orderTotal = '169.27';\r\nvar orderNum = 'foo-143';\r\nvar numOfItems = '1';\r\nvar items = new Array('1510 Carry-on case - FAA carry on approved for airlines');\r\nvar ids = new Array('15caonca');\r\nvar codes = new Array('1510');\r\nvar qtys = new Array('1');\r\nvar price = new Array('129.95');<\/pre>\n<p>There is some setup required on the AdWords side: When you create your tracking code, you want to use  the &#8220;Advanced option: conversion value&#8221;  By default, the &#8220;Value&#8221; box will display &#8220;USD $1.&#8221;  You&#8217;ll want to change the number 1 to either the &#8220;orderSubTotal&#8221; or &#8220;orderTotal&#8221; depending on whether or not you want sales tax and shipping included in your total.  In this case, we&#8217;ll use &#8220;orderSubTotal.&#8221;  Also make sure that your &#8220;security level&#8221; is set to &#8220;https:\/\/&#8221;<\/p>\n<p><img loading=\"lazy\" width=\"727\" height=\"443\" id=\"image29\" alt=\"Google AdWords tracking code setup for a Yahoo! Store\" src=\"https:\/\/www.visualfuture.com\/davetech\/wp-content\/uploads\/2006\/09\/gadwords.gif\" \/><\/p>\n<p>Hit the &#8220;Refresh&#8221; button next to your &#8220;Value&#8221; variable and the page should update with the new settings.  At this point, we&#8217;re *almost* ready to put the code on your site.<\/p>\n<p>The last item that needs to be changed is the default value when the user does not have javascript turned on.  Since our &#8220;orderSubTotal&#8221; value comes from javascript, there&#8217;s not much chance of it having a value without javascript turned on&#8230;<\/p>\n<p>Find the section of AdWords code in between the <noscript> and  <\/noscript>tags.  Near the end of the URL within, you should see &#8220;value=orderSubTotal.&#8221;  In this case, it would be wise to replace &#8220;orderSubTotal&#8221; with a value that represents the &#8220;average sale value&#8221; for your store.  Here&#8217;s an example of a properly formatted AdWords code:<\/p>\n<p><img loading=\"lazy\" width=\"727\" height=\"290\" alt=\"Example of a formatted AdWords code.\" id=\"image30\" src=\"https:\/\/www.visualfuture.com\/davetech\/wp-content\/uploads\/2006\/09\/gadcode.gif\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trying to get the &#8220;real value&#8221; of a sale from a Yahoo! store, and then pass it to the Google AdWords code used to be a nightmare! To be more honest, getting just about anything made by Google to work with anything made by Yahoo! was typically a challenge. Thus, I felt getting the new &hellip; <a href=\"https:\/\/www.visualfuture.com\/davetech\/2006\/09\/04\/google-adwords-and-the-new-yahoo-checkout-wow-that-was-easy\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Google AdWords and the &#8220;new&#8221; Yahoo! checkout, &#8220;Wow, that was easy!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.visualfuture.com\/davetech\/wp-json\/wp\/v2\/posts\/27"}],"collection":[{"href":"https:\/\/www.visualfuture.com\/davetech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.visualfuture.com\/davetech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.visualfuture.com\/davetech\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.visualfuture.com\/davetech\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"https:\/\/www.visualfuture.com\/davetech\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.visualfuture.com\/davetech\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.visualfuture.com\/davetech\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.visualfuture.com\/davetech\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}