hexo-theme-next
hexo-theme-next copied to clipboard
Add Umami and Plausible Analytics
PR Checklist
- [x] The commit message follows guidelines for NexT.
- [x] Tests for the changes was maked (for bug fixes / features).
- [x] Muse | Mist have been tested.
- [x] Pisces | Gemini have been tested.
- [x] Docs in NexT website have been added / updated (for features).
PR Type
- [ ] Bugfix.
- [x] Feature.
- [ ] Code style update (formatting, local variables).
- [ ] Refactoring (no functional changes, no api changes).
- [x] Documentation.
- [ ] Translation.
- [ ] Other... Please describe:
What is the current behavior?
Issue resolved:
What is the new behavior?
Introduce Umami and Plausible Analytics for self-hosting. PR for documentation updates has also been submitted.
- Link to demo site with this changes:
- Screenshots with this changes:
How to use?
In NexT _config.yml:
# Umami Analytics
# See: https://umami.is/
umami:
enable: false
script_url: # https://umami.example.com/script.js
website_id: # <your website id>
# Plausible Analytics
# See: https://plausible.io/
plausible:
enable: false
script_url: # https://plausible.io/js/script.js
site_domain: # www.example.com
Pull Request Test Coverage Report for Build 3042170763
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 97.614%
| Totals | |
|---|---|
| Change from base Build 2982943064: | 0.0% |
| Covered Lines: | 394 |
| Relevant Lines: | 399 |
💛 - Coveralls
Will this PR be merged?