所以我最近开始用 Pelican 写博客,除了谷歌分析之外,一切都很顺利。我发布我的博客使用
make s3_upload
Run Code Online (Sandbox Code Playgroud)
命令,它使用 publishconf.py 文件。
为了获得我的跟踪 ID,我所做的就是将我的跟踪 ID 从谷歌分析页面复制粘贴到 publishconf.py 文件中的谷歌分析行中,就像这样
# Following items are often useful when publishing
#DISQUS_SITENAME = ""
GOOGLE_ANALYTICS = "UA-########-#"
Run Code Online (Sandbox Code Playgroud)
任何帮助将不胜感激,我一直在绞尽脑汁试图解决这个问题。