the {hits} variable works for individual page views. is there any variable that stores the combined pageviews for all the pages
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 07, 2012 9:00am
Subscribe [2]#1 / Sep 07, 2012 9:00am
the {hits} variable works for individual page views. is there any variable that stores the combined pageviews for all the pages
#2 / Sep 10, 2012 11:32am
Hello transwebsolutions,
I played with this a bit and I could not get a total. I even used a few different math Add-Ons, but nothing was accurate because to use the hits tag it has to be in the channel entries loop, the nature of the loop makes it hard to get a total.
You could use the Query Module and grab the values from the database and echo them out, but it’s probably going to take some SQL chops to make that happen.
Does that help at all? Please let me know if there is anything else I can do to help.
Cheers,