### Bug description

Hi,

didn't test on the latest nightly release, but
the issue is as follows:

trying to get google-analytics working on my quarto blog, but this doesn't get an influx of data.
If I investigate the site there is an error popping up which seems to me related to the tag implementation.
The issue can be reproduced as follows:

1. https://quarto.org/docs/websites/website-tools.html
and investigating,
for me the first hightlighted issue is the one related to the g-tag:
2. **Issue** Laden fehlgeschlagen für das <script> mit der Quelle **"https://www.googletagmanager.com/gtag/js?id=G-FV9Z7SDZ0M".**
So it seems that maybe the google script is not correctly implemented, or this should be like that?

Thanks a lot for checking this out.

##  in short: A screenshot of the site investigation:
3. ![grafik](https://user-images.githubusercontent.com/35806794/221379046-36abb69a-2b3c-4e15-bf66-26be1dee3a40.png)

Rstudio version:
"Elsbeth Geranium" Release (7d165dcf, 2022-12-03) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36
Windows 10 x64

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
dragonstyle
2023-02-25T20:55:01Z
dschief001
bug needs-repro
v1.4
closed
Google Analytics tag integration -  no data influx
https://github.com/quarto-dev/quarto-cli/issues/4538