Hi,
I'm using this code in my PWA, but the 'up' is always counted twice.
I see the same at the dashboard, so the real number of users is only half of the reported number.
<script src="https://cdn.jsdelivr.net/npm/counterapi/dist/counter.browser.min.js"></script>
<script>
const counter = new Counter({ workspace: 'nameofmyworkspace' });
counter.up('nameofmycounter')
.then(result => console.log(result.data.up_count))
.catch(err => console.error(err));
</script>