How can I add a custom live counter to the Dawn theme?

Hi there, I want to add a live counter that updates every hour on my page. But I want the counter to be custom and not linked to anything (e.g. sales) and I want it to add a fixed number every hour to the counter. Any way I can do that?

@jarydvisser
it’s seems like sales counter 25 sales, 78 sales.
you can add it by the custom code.

Check this link:

https://www.w3schools.com/js/tryit.asp?filename=tryjs_random_0_9

How do I get it to update every 60 minutes live on the store automatically?


	

@jarydvisser
try like this,

@jarydvisser

1000 X 60 x (60 millisecond) = 1 hour

Under which file do I put this?