How to add Google Analytics Tracking ID to GitHub Pages

前端 未结 8 546
广开言路
广开言路 2020-12-07 06:36

Could be a simple question but I am full of doubts right now about adding Google Analytics Tracking ID to GitHub page.

I am using G

8条回答
  •  一整个雨季
    2020-12-07 07:10

    With me, I was unable to configure Google Analytics 4 (prev Web+App) via adding google_analytics: UA-xxxxxxxx-x to your _config.yml as mentioned previously in one of the answers.

    So I had to put the js recommended by the Google Analytics in the .md file.

    
    
    
    

    Anything you put in the script tag in .md will not be rendered.

提交回复
热议问题