Broken Counter

Hello, My counter doesn’t seem to be working 100% of the time. It is located at the bottom of the page. If I scroll down as quick as I can as the page loads, it will count, but if I let the page load and then scroll down the counter remains at zero.

http://michaeljbonny.com/about/

Thanks.

Hi @fullabeatz,

Thanks for writing in.

Yes, I confirmed that it is not loading well or counting well.

I could see that your setup is not updated to the latest version. Please try to update your setup to the latest version.

If still not helping, please share us your admin credentials so we could check your setup further.

Don’t forget to set it in a secure note.

Thanks.

I updated to the latest version, still doing the same thing.

Hi @fullabeatz,

Upon further testing and creating new counter, I could not be able to see what is the problem. Please try the fix below because this is the only fix that I could find in regards to this issue.

https://xthemetips.com/using-cloudflare-rocket-loader-with-x-pro-and-x5/928/

Let us know how it goes.

Thanks.

I’m not using Rocket Loader or cloudflare, so the link doesn’t help. Still having the same issue with the counter. It will not count unless the page is scrolled all the way down upon loading.

Hi @fullabeatz

I’ve checked your website and I can see the problem is coming from the custom code you added in functions.php file in the child theme directory:

<!-- Calendly badge widget begin -->
<link href="https://assets.calendly.com/assets/external/widget.css" rel="stylesheet">
<script src="https://assets.calendly.com/assets/external/widget.js" type="text/javascript"></script>
<script type="text/javascript">Calendly.initBadgeWidget({url: 'https://calendly.com/mistermjb', text: 'Schedule time with me', color: '#DD8500', branding: true});</script>
<!-- Calendly badge widget end -->

<?php }

If you removed this code, the counter will work just fine, looks like this external script isn’t compatible with the counter script.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.