### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1058

<div type='discussions-op-text'>

<sup>Originally posted by **bryanhanson** June  3, 2022</sup>
I am using [Goatcounter](https://goatcounter.com) for web page analytics.  I just figured out after a month that it is not working.  Goatcounter says to put this on the page so it will be tracked:

```
<script data-goatcounter="https://chemospec.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
```

So I put in my `_quarto.yml` the following:

```
website:
  body-footer: <script data-goatcounter="https://chemospec.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
```

But when the `body-footer` entry is actually put on the page Quarto changes it just a bit:

```
<script data-goatcounter="https://chemospec.goatcounter.com/count" async="" src="../..//gc.zgo.at/count.js"></script>
```

Any suggestions for doing this differently?  Or is there a bug in how `body-footer` is being parsed?

Full repo is [here](https://github.com/bryanhanson/CSR)  Last updated around 3 May using then-current Quarto. However, I don't see any discussion of `body-footer` in either issues or discussions that I can find since that time.

</div>
cscheid
2022-06-04T16:33:48Z
cscheid
closed
double-slash URLs are mistransformed
https://github.com/quarto-dev/quarto-cli/issues/1062