Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Mark Cabangon
Mark Cabangon
3,301 Points

google analytics policy

I've notice some websites have a pop-up letting visitors know they are using cookies or some type of tracking. Should I have a policy letting my visitors know that I am using Google analytic on my sites? Is it a definite requirement? And what is the best way to present it? - Separate page or pop up at footer?

Thanks, Mark C

3 Answers

Ethan Lowry
PLUS
Ethan Lowry
Courses Plus Student 7,323 Points

No, you're under no obligation or requirement to inform visitors you're using Analytics - all sites use it, and you've probably never gotten a notification saying so :) The cookies thing is a different issue.

Mark Cabangon
Mark Cabangon
3,301 Points

Great! Thank you for your response. I just put it in my first website and the dashboard is exciting. I can't wait to see it months from now as the site grows!

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,040 Points

Hi Mark,

You can use jQuery to put up a notification bar which in itself requires a cookie so users can remove it so long as the temporary file exists on their computer.

I wanted to link to the example I used on own site but I can't find it just now, so here's a link to a quick google search for adding notification bars to your website.

https://www.google.co.uk/#q=jquery+notification+bar

Mark Cabangon
Mark Cabangon
3,301 Points

Cool! I always thought that pop up notification bar was nice to have on a site. I'll look into it and maybe implement it in the future.