4 ms·
Static site don't have comments and analytics.
by user5994461 9y ago
Static site don't have comments and analytics.
- thomasmeeks 9y agoSure they can, static site generators can still include client-side javascript.
- bo1024 9y agoNor do you need javascript for basic comments* or analytics. *if your site is spammed hard enough, javascript may become necessary, but you can try honeypot fields first in pure HTML.
- acheron 9y agoYes, those are advantages too.
- darekkay 9y agoI've got a static blog with both. You don't even need JavaScript for analytics, when using something like GoAccess[0] (I haven't noticed any meaningful differences after switching). [0] https://goaccess.io/ https://goaccess.io/
- DeGi 9y agoGoAccess seems like a great tool. Thanks for pointing it out!
- drdrey 9y agoThey absolutely can, with something like Disqus for comments and Google Analytics or whatever other analytics you like
- JoshMnem 9y agoOr DIY with something like this: https://github.com/posativ/isso https://github.com/posativ/isso or this: https://blog.webkid.io/moving-from-disqus-to-schnack/ https://blog.webkid.io/moving-from-disqus-to-schnack/ You could also install Discourse on a subdomain (quick docker-based install on a $5/month server) and use that for comments.
- KajMagnus 9y agoOr this: https://www.kajmagnus.blog/new-embedded-comments/ https://www.kajmagnus.blog/new-embedded-comments/ (open source like Isso and Schnack, or hosted for those who don't want to install anything)