Skip to content

Google analytics tag for single html files #702

Answered by dragonstyle
harrelfe asked this question in Q&A
Discussion options

You must be logged in to vote

We currently only support this for websites, though you could certainly accomplish something similar by placing the Google Analytics script for your page in the header of the page using include-in-header (a path to a file) or header-includes (inline in the document front matter)

https://quarto.org/docs/output-formats/html-basics.html#includes

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by harrelfe
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants