How To Display Number Of Hits Of The SP Page In The Website - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

How To Display Number Of Hits Of The SP Page In The Website

webmaster.unioeste

webmaster.unioeste

SP Page Builder 3 years ago

In the administrator, on SP Page Builder Pro - Pages, there is a list of existing pages with the information "Hits" in the right of each page. Is it possible to display this number of hits of the page in the frontend of the website?

0
5 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #71429

If I may...

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: hits.png

This is all what I can do for you about it. Hope ths helps!

Best Regards

1
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #71425

Hi,

Unfortunately, this is not possible without code customization. Besides number of hits were popular 10-15 years ago now not really, now all webmasters know that only tracking stats have real value.

0
webmaster.unioeste
webmaster.unioeste
Accepted Answer
3 years ago #71428

Hello,

Thanks for the fast answer,

Is it a code customization that I can do myself? Can you direct which way to go?

I know it doesn't have a real value, but it is a legal demand :/

0
webmaster.unioeste
webmaster.unioeste
Accepted Answer
3 years ago #71431

Thank you!

I'll try this solution.

Best Regards

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #71434

You are always welcome:)

0