jekyll-theme-yat icon indicating copy to clipboard operation
jekyll-theme-yat copied to clipboard

How to activate google-analytics?

Open swaggypg opened this issue 3 years ago • 1 comments

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! QQ截图20220104160717

swaggypg avatar Jan 04 '22 08:01 swaggypg

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

jeffreytse avatar Jan 10 '22 15:01 jeffreytse