function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Laura PattieLaura Pattie 

The trigger or process that sends out the "you are nearing your page views limit" email does not appear to be accounting for the fact that some page views are by authenticated users

The trigger or process that sends out the "you are nearing your page views limit" email does not appear to be accounting for the fact that some page views are by authenticated users and authenticated users are not supposed to count against the Page Views Limit.
ShashankShashank (Salesforce Developers) 
Hi Laura,

Can you let me know how you determined that the page views are counting authenticated portal users? Also, you can use this appexchange package to report on page views: https://appexchange.salesforce.com/listingDetail?listingId=a0N30000001SUEwEAO&tab=r

Thanks,
Shashank
Laura PattieLaura Pattie
Hi Shashank, I’ve downloaded the App you pointed me to and have been using it since May 2014. It’s been by process of elimination that we came to the conclusion that the process is counting authenticated users. To put it into context, we have two Customer Portals that each use a Site to login. There’s nothing else on that page other than the login process and yet our page views have the following results: Page Views January February March April May June July August September Portal 1 0 0 0 0 0 0 106,862 237,924 181,422 Portal 2 285,736 353,395 239,963 214,645 439,932 283,754 334,315 555,416 464,886 Grand Total 285,736 353,395 239,963 214,645 439,932 283,754 441,177 793,340 646,308 When compared to Google Analytics, the number is significantly higher: Google Analytics January February March April May June July August Portal 1 0 0 0 0 0 0 69,664 184,652 Portal 2 190,338 241,194 145,512 206,334 234,822 174,745 236,254 365,655 Month Total 190,338 241,194 145,512 206,334 234,822 174,745 305,918 550,307 And when compared to our actual portal logins (successful and unsuccessful): Portal Logins (Successful and Unsuccessful) No Data April May June July August September All Portals 52,964 96,540 90,176 85,699 168,440 160,056 Grand Total 52,964 96,540 90,176 85,699 168,440 160,056 We have intentions to launch two additional portals and are concerned that this consistent overage will continually cause us to be in violation of our usage allowance. I’d be extremely grateful if you were able to describe how the trigger comes to the numbers it displays in the report. Thank you, Laura [X] [http://w2.lesmills.com/Utility/Signature/Img.aspx] Laura Pattie | Business Analyst / Support Les Mills International | Laura.Pattie@lesmills.com tel +64 21 816 128 | fax +64 9 366 9901 www.lesmills.com [LesMills] [facebook] [twitter] [linkedin] [youtube] [instagram]
ShashankShashank (Salesforce Developers) 
Hi Laura,

You mentioned that the site is a login page. So, since any user, to get authenticated, would visit the site to login, they are unauthenticated by then. This could be the reason. Only after logging in, the user will be an authenticated portal user.

For additional portals, to ensure you do not hit the limit, you may have to buy additional monthly page views from your salesforce account executive. Just FYI, the page view limit is 500,000 per month, and If you are reaching 110% of this limit for 4 consecutive months, the site might get disabled temporarily.

Regarding the discrepancy in google analytics, it could be because of VF pages not being tracked by google analytics. Please see this for a solution: https://developer.salesforce.com/forums/ForumsMain?id=906F00000009A3JIAU

Thanks,
Shashank