Visitor Counts on pages build with Page Builder Pro - Forum | JoomShaper
Staff replied SP Page Builder

Visitor Counts on pages build with Page Builder Pro

Asked by Paul Srch 5 years ago Last activity 5 years ago

Is there any way to record visitor counts to pages build with Page Builder Pro? For instance, if I create a page in a regular article, it shows up un the Popular Articles module on the admin control panel. Is there something similar in Page Builder? Or can thay be tracked in the Popular Articles by enabling a setting? This seems like it would be a great idea...

1 reply

Rashida Rahman Staff

Hi there!

Thanks for contacting us!
Did you mean hits?
There is no default way to do this. I can give you the file path you need to customize for this.

Here is the file path:
\components\com_sppagebuilder\views\page\tmpl\default.php

You may edit this file and add the following line of code to show hits wherever you want:
echo $page->hits;

Here is a sample screenshot for your ease:
hitsSPPB.png

Hope this helps!

Note: Customization support is prohibited here!

Best Regards

Log in to reply.