What would you like to do?
Report an issue on quarto.org
Description
Hi. Section about website plausible analytics works well https://quarto.org/docs/websites/website-tools.html#analytics
But when exporting quarto BOOK as a website, the yml file requires a different format. (RStudio complains about plausible-analytics tag). Instead snipped needs to be included not in the 'website' section, but rather in the 'format > html' section. (https://github.com/teaching-programming/book/blob/main/_quarto.yml)
This worked in _quarto.yml:
format:
html:
include-in-header: _plausible_snippet.html
rather than
website:
plausible-analytics:
path: _plausible_snippet.html
Solution:
So basically, a section about analytics could be written in the quarto book section, or a mention of how book analytics differ could be added to the website section. I would be happy to help with either, but need a steer in a direction
What would you like to do?
Report an issue on quarto.org
Description
Hi. Section about website plausible analytics works well https://quarto.org/docs/websites/website-tools.html#analytics
But when exporting quarto BOOK as a website, the yml file requires a different format. (RStudio complains about plausible-analytics tag). Instead snipped needs to be included not in the 'website' section, but rather in the 'format > html' section. (https://github.com/teaching-programming/book/blob/main/_quarto.yml)
This worked in _quarto.yml:
rather than
Solution:
So basically, a section about analytics could be written in the quarto book section, or a mention of how book analytics differ could be added to the website section. I would be happy to help with either, but need a steer in a direction