You are mixing up issues here. I don't think cookies are non-free.
I don't know much but if we go at https://en.wikipedia.org/wiki/Google_Analytics and then in technology section, it says that Google Analytics is a Javascript code, which means it is a software running in your browser.
I presumed GA Javascript to be nonfree.
What am I missing? How is cookies not non-free?