SEO Issue With Animated Number / Counter — Real Values are Not Visible In Raw HTML - Question | JoomShaper

Celebrate JoomShaper's Sweet 16 with Flat 35% OFF!

SEO Issue With Animated Number / Counter — Real Values are Not Visible In Raw HTML

O

Ondrej

SP Page Builder 5 days ago

Hello,

I am working on SEO improvements for a website built with Joomla, Helix Ultimate and SP Page Builder, and I have found an issue with the Animated Number / Counter element.

On the homepage, we have a statistics section with values such as:

310 installed robots 850 camera systems 48 employees 834 completed projects

Visually, the numbers are displayed correctly on the website because JavaScript counts them up after page load / scroll. However, the problem is that in the raw HTML source, the values are output as “0”, while the real numbers are stored only in a data attribute, for example data-digit="310".

From an SEO point of view, this is a problem because Google or other crawlers without full JavaScript rendering may only see zero values in the page source. The website then appears in the raw HTML as if it had 0 robots, 0 camera systems, 0 employees, etc.

I would like to ask how to set up or modify this element correctly so that the real target value is visible directly in the HTML source, for example:

<span data-digit="310">310</span>

and JavaScript is used only for the visual animation from 0 to the target number.

Is this possible directly in the SP Page Builder / Animated Number addon settings? Alternatively, is there a recommended override or another correct way to modify the addon output so that it remains SEO-friendly while keeping the animation?

Thank you for your advice.

0
2 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 5 days ago #226233

Hi,

Thank you for bringing this to our attention, and we apologize for the inconvenience.

We have confirmed the issue and have already informed our development team about it. They will review and improve the Animated Number addon to make it more SEO-friendly in a future update.

We appreciate you taking the time to report this and thank you for your patience and understanding while we work on the improvement.

Best regards

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 days ago #226244

By now, please add raw html addon with needed text & number, and hide from vising using class name: sppb-visually-hidden in addon settings, that addon should be above your Animated Number addons, in separate column.

For example:

<h4 class="sppb-visually-hidden">
310 installed robots, 850 camera systems, 48 employees, 834 completed projects</h4>

google will read & index that.

0