jekyll-theme-yat
jekyll-theme-yat copied to clipboard
How to activate google-analytics?
Hi! I have seen the google_analytics.html file in the _includes/extensions and there is some code about google_analytics in _config.yml too. But I don't really understand how to activate this function. Could you please tell me about it? Thank you very much!

Hi @swaggypg
Recently I'm quite busy, and sorry for the late reply. Actually, you can refer to this line, it will check if your google_analytics property isn't null, then will include relevant code to the header.
Thanks and Regards