[Plugin: Google Analytics Plugin] patch to skip output if no analytics code
-
The V1.0 code outputs the analytics block even if there is no code present.
Adding a simple check after retrieving the value ensure the block is only output when needed.
if ( ! $google_analytics_options['ua_id'] ) { return; }
http://wordpress.org/extend/plugins/google-analytics-plugin/
- The topic ‘[Plugin: Google Analytics Plugin] patch to skip output if no analytics code’ is closed to new replies.