Worked for me. Thank you very much.
+1 to the solution by Cangluo. This issue has been annoying me for several months now.
Just updated to 5.0.2 which has rolled out in the last few minutes and seems to have fixed the issue.
Same problem. I’m getting this since updating. I’ve disabled the plugin for now.
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/foobar/public_html/wp-content/plugins/google-analytics-for-wordpress/frontend/class-frontend.php on line 46