How can I record the number of hits on the site?
I want to be able to monitor what action the site is getting.
I may want to display this count on the site but not necessarily.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
If displaying the number of hits is not a requirement, go with Google Analytics:
This is easily the quickest way to add powerful metrics to your site.