Closed HonkingGoose closed 9 months ago
@viceice sorry for aborting your auto-merge, but I want to hear from @rarkins
first about their Google search console. :wink:
I'm happy to merge the privacy plugin after @rarkins
resolves my comment and approves the PR. :wink:
ok š¤
@rarkins The easiest way to find out is to merge my PR and see if your Google stuff complains. You can always revert my PR cleanly as it does not change any dependencies. š
The plugin scans the generated HTML for external assets, i.e., scripts, style sheets, images, and web fonts, downloads them, stores them in the [site directory][mkdocs.site_dir] and replaces all references with links to the downloaded copies for effortless self-hosting.
I tried the server preview and the docs site works well: the fonts are loaded locally, and the search keeps working. But I suspect that loading the Google Analytics locally may break some kind of callback or integration to your Google dashboard.
Edit: The Material for MkDocs explains the Google Analytics integration. The docs do not explain what happens when you use the privacy plugin and Google Analytics.
we should open a discussion on mkdocs material repo and ask what happens in that case?
we should open a discussion on mkdocs material repo and ask what happens in that case?
Let's check if our production configuration works first... :wink:
@rarkins Are you seeing Google Analytics coming from the docs site? The manual says we need a entry like this in our mkdocs.yml
config file: [^1]
extra:
analytics:
provider: google
property: G-XXXXXXXXXX
We're missing a analytics
section in our mkdocs.yml
config file. So maybe that means Google Analytics does not work?
Ohh maybe we don't have that type of analytics. I get monthly stats but maybe that's just Google telling me how many people clicked through
Ohh maybe we don't have that type of analytics. I get monthly stats but maybe that's just Google telling me how many people clicked through
We're not using the configuration from the Material for MkDocs manual. I think this means you're getting the click-through rate from Google on search terms or keywords related to the Renovate docs. That configuration may be elsewhere in the repository, or in some kind of Google-specific configuration related to the docs domain?
You added a google-site-verification
config thing two years ago but I think that's to verify Renovate owns the Renovate docs site?
What do you want to do then @rarkins?
1
Changes:
Context:
Follow-up after @viceice said I can try the privacy plugin in:
375
Documentation
Important quotes from docs