If you're collecting analytics data yourself you still need to comply with GDPR so you still need a cookie banner for anything but extremely basic analytics.
This applies whether it's you doing the collecting or Google's "free" analytics service.
Of course if you're a running a small website you'll probably get away with it. For now.