WordPress.org

Ready to get started?Download WordPress

Forums

Creative Clans Embed Script
Google Adwords Conversion Code & Special Characters (2 posts)

  1. stupidpoeticjustice
    Member
    Posted 3 years ago #

    I'm attempting to deploy Google Adwords conversion tracking code, but keep running into an issue where WordPress is conversion a greater than symbol into special characters (e.g., ">" into ">"). This prevents the script from running. Any suggestions on how to prevent the conversion? Here's the Google Adwords conversion code:

    ****** WHAT THE CODE SHOULD BE **********

    <!-- Google Code for Contact Page Conversion Page -->
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = 961285138;
    var google_conversion_language = "ar";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "JNR0CJaF4wIQkpiwygM";
    var google_conversion_value = 0;
    /* ]]> */
    </script>
    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/961285138/?label=JNR0CJaF4wIQkpiwygM&guid=ON&script=0"/>
    </div>
    </noscript>

    ********** HOW IT'S RENDERED IN THE SOURCE CODE ***********

    <!-- Google Code for Contact Page Conversion Page -->
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = 961285138;
    var google_conversion_language = "ar";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "JNR0CJaF4wIQkpiwygM";
    var google_conversion_value = 0;
    /* ]]> */
    </script>
    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/961285138/?label=JNR0CJaF4wIQkpiwygM&guid=ON&script=0"/>
    </div>
    </noscript>

    http://wordpress.org/extend/plugins/creative-clans-embed-script/

  2. stupidpoeticjustice
    Member
    Posted 3 years ago #

    Just to clarify, the code was changed to:

    http://i.imgur.com/H2orf.png

    See the bit about "& g t ;" (no spaces)

    (unfortunately, the forums changes the specialized character, defeating my point of posting. The irony is not lost on me.)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic