maybe you can also try this plugin: (thats what i do) https://wordpress.org/plugins/google-analytics-dashboard-for-wp/