Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Luke Gibson
Luke Gibson
4,822 Points

Do I have to tell visitors the site is using Google Analytics?

Hey, this may be a silly question but I see on a lot of sites that they have to say that they are using cookies, does using Google Analytics need the same thing, so do I need to create something at the top of my pages to say that I am using it?

Konrad Pilch
Konrad Pilch
2,435 Points

In addition to the question, why do we need to tell the user that the site is using cookies? What if we don't say that the site uses cookies?

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Luke,

As far as I know, no, you don't need to inform on the use of Google Analytics. Almost every site uses some form of Analytics or Data Metrics. I do know that if you are using Google Ads, however, you do need a Privacy Policy on your page.

And Konrad, again as far as I know, the "cookie law" is only in the EU (regarding any EUROPA website), and the government there figured this was a good way to protect the privacy of the user. You can read more on that in the EU Internet Handbook. As for other parts of the world, informed consent is not needed... yet.

:dizzy: