Use print function not print statement

Updated the google_analytics function using print function instead of
prit statement. Also removed the test from google_analytics. I'll
probably test the GA variable inside main.