Use CDN for Google Analytics Autotrack.js

Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

The following filter enables you to call the Google Analytics Autotrack.js from a CDN source instead of from locally within All in One SEO Pack:

add_filter( 'aiosp_google_autotrack', 'sfwd_aiosp_google_autotrack' );

function sfwd_aiosp_google_autotrack( $autotrack_url ) {
	$autotrack_url = '';
	return $autotrack_url;

For instructions on how to use this code, please refer to our FAQ here.

  • Was this helpful ?
  • YesNo