Code in Header for Google Analytics

Hi there

I got the code below from Google to make Google Analytics work with my website. I should place the code in the header. Could you please tell me, where in Cornerstone I have to place this code:

Thank you very much for your help.

Hey Felix,

Thanks for writing in. There is no place in the theme to add code in the header. For add Google Analytics to your site, you’d need to use our Google Analytics Extension: https://theme.co/apex/forum/t/extension-google-analytics/84

There are also other ways to add code to your header and also the footer. Please see https://kinsta.com/knowledgebase/add-code-wordpress-header-footer/

Hope that helps.

Hi Christian

Thank you very much for your help. I think, it ist the best, if I install the Google Analytics Extension you mentioned, after mirgating the website to the live server. Isn’t it?

Thanks again!

Hi Felix,

Yes, that’s fine, but that does not mean you can’t install Google Analytics Extension on a dev site. Either way should work.

Thanks,

Hi Friech

OK, that’s great. Thank you very much for your helpful information.

You’re most welcome, Felix.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.