diff --git a/modules/google-analytics/wp-google-analytics.php b/modules/google-analytics/wp-google-analytics.php index d4c4316b8039a..7b9a9a55b15b7 100644 --- a/modules/google-analytics/wp-google-analytics.php +++ b/modules/google-analytics/wp-google-analytics.php @@ -35,7 +35,7 @@ class Jetpack_Google_Analytics { * @return void */ private function __construct() { - add_action( 'get_footer', array( $this, 'insert_code' ) ); + add_action( 'wp_footer', array( $this, 'insert_code' ) ); } /**