Filter All in One SEO Pack Google Analytics

This filter hook can be used to modify or replace the AIOSEOP-supplied Google Analytics code.

add_filter( 'aiosp_google_analytics', 'filter_aioseop_ga', 10, 1 );

function filter_aioseop_ga( $analytics ){

return "different code";

}
Skip to toolbar