Open zhenyuan0502 opened 3 years ago
Actually, now all the scripts which mentioned in script.ejs will be add in the footer, and it seems no error now, move to header is not so necessary.
Actually, now all the scripts which mentioned in script.ejs will be add in the footer, and it seems no error now, move to header is not so necessary.
I am not sure if it's detected from Google, if it worked, feel free to close this issue
Hi all, I have reached the Google Analytics Verification for Ownership, which is using
gtag.js
, but I found out that the document required put it in<head>
tag basically to verify.So I request to move this part at
script.ejs
https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/layout/_partial/scripts.ejsand put them in
head.ejs
https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/layout/_partial/head.ejsDocument: https://developers.google.com/analytics/devguides/collection/gtagjs/