You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've read through #2252 and it seems the end result there was the addition of this syntax:
extra:
analytics:
provider: google
property: G-***********
However, when adding that to my mkdocs.yml and publishing, there is nothing in the <head> and Google doesn't detect the tag.
The Mkdocs guide still references google_analytics: ['UA-**********', 'site-name.org'], which must be old and the Material docs reference the same method above.
The text was updated successfully, but these errors were encountered:
I'm having the same issue. As another option I added a gtag.js file into the extra javascripts and pointed to that in the .yml but that didn't make any difference. Currently Analytics says "Your Google tag wasn't detected on your website." Any suggestions would be great.
I've read through #2252 and it seems the end result there was the addition of this syntax:
However, when adding that to my mkdocs.yml and publishing, there is nothing in the
<head>
and Google doesn't detect the tag.The Mkdocs guide still references
google_analytics: ['UA-**********', 'site-name.org']
, which must be old and the Material docs reference the same method above.The text was updated successfully, but these errors were encountered: