Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 24th, 2012  |  syntax: None  |  size: 0.96 KB  |  views: 55  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <script type="text/javascript">
  2. /* <![CDATA[ */
  3. var google_conversion_id = <my id>;
  4. var google_conversion_language = "en";
  5. var google_conversion_format = "3";
  6. var google_conversion_color = "ffffff";
  7. var google_conversion_label = "<my label>";
  8. var google_conversion_value = {$total};
  9. /* ]]> */
  10. </script>
  11. <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
  12. </script>
  13. <noscript>
  14. <div style="display:inline;">
  15. <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/<id>/?value=0&label=<label>&guid=ON&script=0"/>
  16. </div>
  17. </noscript>
  18.        
  19. var google_conversion_value = {$cart->getOrderTotal(false, Cart::BOTH_WITHOUT_SHIPPING)};
  20.        
  21. const ONLY_PRODUCTS = 1;
  22. const ONLY_DISCOUNTS = 2;
  23. const BOTH = 3;
  24. const BOTH_WITHOUT_SHIPPING = 4;
  25. const ONLY_SHIPPING = 5;
  26. const ONLY_WRAPPING = 6;
  27. const ONLY_PRODUCTS_WITHOUT_SHIPPING = 7;
  28. const ONLY_PHYSICAL_PRODUCTS_WITHOUT_SHIPPING = 8;
clone this paste RAW Paste Data