Use classic asynchronous Google Analytics for All in One SEO Pack

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

Buy Now

As of version 2.3.15, All in One SEO Pack no longer supports the use of the old Classic Asynchronous Google Analytics tracking code.  We only support the current Universal Analytics tracking code.

Users should switch to migrate to the current Universal Analytics –

This filter hook only works in versions prior to 2.3.15 for switching to the old Classic Asynchronous tracking code.

add_filter( 'aiosp_universal_analytics', 'use_classic_google_analytics', 10);

function use_classic_google_analytics( $universal ){

return false;



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

  • Was this helpful ?
  • YesNo