Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1063836
    piexec
    Participant

    I’m trying to get the attached code to paste into my global Javascript. But it won’t work….

    See video: http://youtu.be/6Fc8Xk2gaLY?hd=1

    #1063838
    piexec
    Participant
    This reply has been marked as private.
    #1064023
    Jade
    Moderator

    Hi there,

    This would be better placed through the child theme‘s function.php file:

    add_action('wp_head','custom_script');
    
    function custom_script() {
    ?>
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = 880580027;
    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/880580027/?value=0&guid=ON&script=0"/>
    </div>
    </noscript>
    <?php
    }

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1063836 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>