jQuery run other javascript... remakerting code

jQuery run other javascript... remakerting code

Hi,

i have code generate bij google adwords.. remarketing code..

what i wanna do.. let's say a button is clicked .. then the code should run .. not before it..


so how can jQuery  run other javascript ?

  1. var codetorun= " 

  2. <script type="text/javascript">
  3. /* <![CDATA[ */
  4. var google_conversion_id = xxxxxx;
  5. var google_custom_params = window.google_tag_params;
  6. var google_remarketing_only = true;
  7. /* ]]> */
  8. </script>
  9. <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
  10. </script>
  11. <noscript>
  12. <div style="display:inline;">
  13. <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/xxxxxx/?value=0&amp;guid=ON&amp;script=0"/>
  14. </div>
  15. </noscript>
  16. "