Open luigiwerzowa opened 3 years ago
In case this may be an issue for anyone else: You can also verify with a google-site-verification meta tag. In "a curated list of awesome things related to VuePress", at least one project uses this method: archcheatsheet.
The Google Analytics plugin works fine for Google Analytics, however, Google SearchConsole validation via Google Analytics requires the analytics.js to be in
<head>
rather than the<body
(see official documentation). Since the latter is currently the case for the google-analytics plugin, SearchConsole validation fails.Is there any way to get the plugin to put the analytics.js in
<head>
? It seems I do not understand how exactly the plugin is added to the position it is added to. In app.js I see that it is added viao.parentNode.insertBefore(s, o)
but where the parameters come from is unclear to me.Thanks in advance.