To add perfect audience tracking to your yahoo store, do the following;

  1. add the tracking code to all pages through the ‘store manager’ by editing the store ‘variables’. This code should look something like this.

     <script type="text/javascript">
     (function() {
     window._pa = window._pa || {};
     var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;
     pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.perfectaudience.com/serve/<strong>YOURTRACKINGID**.js";
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);
     })();
     </script>
    
  2. Now, to track conversions, you’ll want to add the following code , by going to the checkout manager, and editing the ‘order confirmation’ page, and adding the tracking code to the specific box for tracking.

     <script type="text/javascript">
     (function() {
     window._pa = window._pa || {};
     _pa.orderId = "orderNum";
     _pa.revenue = "orderTotal";
     var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;
     pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.perfectaudience.com/serve/<strong>YOURTRACKINGID**.js";
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);
     })();
     </script>
    
  3. Now you’ll want to publish both, through the store manager, and, the checkout manager.

  4. You should start seeing conversions with Perfect Audience at this point.