How to activate google analytics on my website

How do I activate google analytics on my netlify website?

My site name: mystoreyes.com

hi there,

so, netlify analytics and google analytics are two separate things.

Google analytics works by adding some JS to your site, that then tracks visitor data. You have to add the code to your pages and set it up.

Netlify analytics runs on the servers that host your content with us. You can activate it by logging in to your Netlify account and adding it to your plan.

Hi @perry
Do I have to add the code to all pages?
I currently have added the JS code only at the code snippet block.

hi @storeyes1995, you’d need to follow a guide on adding Google analytics, as I am not an expert on that and can’t advise you on this. If you have a problem related to Netlify specifically, we’ll be happy to assist.