Filter Google Analytics tracking

Since SEOPress 2.6

function sp_gtag_html($html) {
return "your custom Google Analytics tracking code";
}
add_filter('seopress_gtag_html', 'sp_gtag_html');

Last modified: April 1, 2018