-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Google Search Console verification #26
Comments
Thanks for the report! Could you confirm where the code is inserted on your page? It should be inserted in the Is the "homepage" described by Google actually a Flarum page or is it maybe another website (for example if Flarum is in a subfolder)? |
The code seems to be in the It looks like this:
Google say it should look like this:
I am not sure that could be the problem, but google mentions that it is important, to have the exact same code. I also think I have read that it would be better to insert the script before any other script and the CSS. |
It seems like we made the choice to only call the tracking code once the first page is rendered in the single page app analytics/js/src/forum/index.js Line 7 in fb91b7e
That would be why it can't be used for Google verification. I don't really know if we want to change that. Are you able to use another verification method? |
That is the problem. For FreeFlarum, this was the only good way to verify for the google search console. The only other way would be to buy a domain, make a subdomain and set it via CNAME to my FreeFlarum Domain. Then i could use the domain verification. However, this is a little inconvenient. :( |
You mean it worked on Flarum beta 13? The code that seems to be at the origin of the problem hasn't been changed in the last 2 years 😅 |
I think i can remember that it have worked in the past... I am almost sure about it. |
I think it would be great if the Google Analytics code could be recognized by the Google Search Console to confirm the ownership of the website.
When I try to verify my ownership through Analytics, I get the following error:
Would it be possible to make it compatible?
PS: The Google Tag Manager code is also not recognized by the Google Search Console.
The text was updated successfully, but these errors were encountered: