Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Google Adwords Conversion Tracking Code #90192

    Hi – found this useful bit too – so do the above first then do the following (comment out that bit as it says below).

    Unfortunately there is still a problem with WordPress 3.5.1 that has been documented for 6 years which replaces the end of the CDATA section “/* ]]> */” with “/* ]]> */”. The quick fix for this is to comment out the offending code in /wp-includes/post-template.php.

    function the_content($more_link_text = null, $stripteaser = false) {

    $content = get_the_content($more_link_text, $stripteaser);

    $content = apply_filters(‘the_content’, $content);

    /** $content = str_replace(‘]]>’, ‘]]>’, $content); */

    Google has a neat little extension for Chrome, Tag Assistant, which allows you to check that your Google code snippets are working on the displayed page. I ran that on the Order Received page and everything was finally functioning.

    I got it working.

Viewing 1 post (of 1 total)