google analytics update bug

After update Google Analytics + to the latest version (Version 3.1.7) I got a fatal error:

Fatal error: Uncaught Error: Call to undefined function wp_add_privacy_policy_content() in /home/++++/www/++++/wordpress/wp-content/plugins/google-analytics-async/google-analytics-async.php:271

This is because I am not using the latest version of WordPress (4.9.6).