Tracking Code
stripcslashes (2 posts)

  1. Klaus Schwarzkopf
    Posted 4 years ago #

    add stripcslashes to the plugin Trackin Code http://wordpress.org/extend/plugins/tracking-code/

    function wpHead(){
                $data = get_option('tracking_code');
                if( isset( $data['tracking_head']['enable'] ) )
                    echo stripcslashes($data['tracking_head']['code']);
            function wpFooter(){
                $data = get_option('tracking_code');
                if( isset( $data['tracking_footer']['enable'] ) )
                    echo stripcslashes($data['tracking_footer']['code']);
  2. roibot
    Posted 4 years ago #

    Thanks, I too had noticed this plug-in breaks Piwik tracking due to slashes. This fix should do it. Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tracking Code
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic