Show HN: A simple web app to create a custom counter, share it and update it c counting.world 1 sndk 5 years ago 8 comments
As a side note this would also trigger a navigation away from your site not something you probably want. You should be doing this behind the scenes with JS.
You could look into https://countapi.xyz/. You won't get the displaying part but there's an API for your use case.