ppoffice / hexo-theme-icarus

A simple, delicate, and modern theme for the static site generator Hexo.
https://ppoffice.github.io/hexo-theme-icarus/
MIT License
6.28k stars 1.54k forks source link

Google analytics should be disabled during development #1129

Closed ppwwyyxx closed 1 year ago

ppwwyyxx commented 1 year ago

Describe the bug Google analytics shows me statistics about pages I have not published at all. The only explanation is that even when I'm developing locally (I use hexo server or hexo server --draft), google analytics is still recording page view data.

I think the correct behavior (or at least, a better default) is to not send analytics data during development.

System and Environment hexo 6.3.0 latest icarus.

I have the following enabled

plugins:
    google_analytics:
        tracking_id: UA-XXX
ppoffice commented 1 year ago

@ppwwyyxx User should disable plugins in the configuration files.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.