0
Welcome Guest! Login
0 items Join Now

SOLVED How to insert code just before tag?

  • SOLVED How to insert code just before tag?

    Posted 8 years 9 months ago
    • I need to insert the following Google Marketing code just before the body close tag
      <script type="text/javascript">
      /* <![CDATA[ */
      var google_conversion_id = xxxx;
      var google_custom_params = window.google_tag_params;
      var google_remarketing_only = true;
      /* ]]> */
      </script>
      <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
      </script>
      <noscript>
      <div style="display:inline;">
      <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/xxxx/?value=0&amp;guid=ON&amp;script=0"/>
      </div>
      </noscript>
      

      I can't use a Custom js Atom to do this, because it automatically adds script tags around the code, whereas I need <noscript> tags for the final section.
    • Last Edit: 8 years 9 months ago by Alex G Rees.
    • Freshpage Web Design
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: SOLVED How to insert code just before tag?

    Posted 8 years 9 months ago
  • Re: SOLVED How to insert code just before tag?

    Posted 8 years 9 months ago

Time to create page: 0.058 seconds