A solution to count visit by pages ? #1922
Unanswered
happytodev
asked this question in
Q&A
Replies: 1 comment
-
|
Hey Cecil lovers, I'm trying to answer myself ;-) I have made a little Proof of concept to implement this functionnality and it works 🚀 It's very summary but I have a Rest API who receive {{ page.path }} variable. I upgrade the counter and return the json response with the new count. A little piece of js in the template and voilà ! I have to improve this little POC. Will you be interested by this solution ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Arnaud,
I'm wondering if there is a technical solution to count the visit by page to display it.
I know we are on a static website, but perhaps there is a way to add this functionnality ?
I saw some solutions like hits for github or like on this blog https://ravichaganti.com/blog/adding-visitor-counter-to-statically-generated-web-pages/
Do you mind it's possible with Cecil ? I saw that depends on a third party.
I'm happy to see your thoughts about this topic.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions