Skip to content

Commit

Permalink
Fix GA maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
s2t2 committed Aug 22, 2024
1 parent 1221e08 commit 9f99b1f
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ book:
#open-graph: true

# https://quarto.org/docs/websites/website-tools.html#google-analytics
google-analytics: "G-B1MPHWM8NN"
# doesn't work for github pages?
# see html: include-in-header option at bottom instead ..
# jk use tracking id as well?
# https://github.com/quarto-dev/quarto-cli/discussions/9065
google-analytics:
tracking-id: "G-B1MPHWM8NN"

# https://quarto.org/docs/reference/projects/books.html#search
search: true
Expand Down Expand Up @@ -231,5 +236,18 @@ format:
##number-sections: false
##number-depth: 1

# https://quarto.org/docs/reference/formats/html.html#includes
#include-in-header:
# text: |
# <!-- Google tag (gtag.js) -->
# <script async src="https://www.googletagmanager.com/gtag/js?id=G-B1MPHWM8NN"></script>
# <script>
# window.dataLayer = window.dataLayer || [];
# function gtag(){dataLayer.push(arguments);}
# gtag('js', new Date());
#
# gtag('config', 'G-B1MPHWM8NN');
# </script>

pdf:
documentclass: scrreprt

0 comments on commit 9f99b1f

Please sign in to comment.