hugo-toha / toha

A Hugo theme for personal portfolio
https://hugo-toha.github.io
MIT License
979 stars 567 forks source link

bug Google Analytics has stopped working #955

Open javierasping opened 2 weeks ago

javierasping commented 2 weeks ago

Since June 3rd, when the Git bot applied the following commit --> https://github.com/javierasping/sentinel/commit/0cf1c666d6f4bbddc971541cbe24c068b3ab6c9f, my Google Analytics stats have stopped working. I have been looking into it and the script is not being inserted into the HTML code. My Google tag is G-GVDYVWJLRH.

When I search for it in the generated HTML code, I cannot find it.

javiercruces@HPOMEN15:~/Documentos/sentinel/public$ grep -r "G-GVDYVWJLRH" .

My website is in www.javiercd.es .

I have tried to do as in previous cases where you helped me update to the latest version of Hugo as well as update the dependencies using the following commands:

# update to latest version of all modules
hugo mod get -u

# update the npm dependencies
hugo mod npm pack

# cleanup go.sum file
hugo mod tidy

# install npm dependencies
npm install

My current version of Hugo is:

javiercruces@HPOMEN15:~/Documentos/sentinel$ hugo version
hugo v0.128.1-0ff542b4b9cc7b5cb425bbab8bdb5aace81d0c03+extended linux/amd64 BuildDate=2024-07-02T06:46:41Z VendorInfo=gohugoio

Thank you very much in advance for your help, best regards!!