Skip to main content

Timeline for Count Views Per User?

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Jun 7, 2017 at 13:28 vote accept Prakash Sajwan
Jun 7, 2017 at 13:00 comment added Dan Jones On your second comment, you're right it would. I've updated the answer that should handle that. On your first point, it will affect performance because you are making a callout to the server each time the page is loaded. However, I wouldn't expect something this simple to have much of an impact. Mark this as the answer if it's helped enough! :)
Jun 7, 2017 at 12:59 history edited Dan Jones CC BY-SA 3.0
added 14 characters in body
Jun 7, 2017 at 11:57 comment added Prakash Sajwan One more thing Dan, in 2nd scenario, first time when we call trackVisits method, there will be no records in Tracking_1__c table so it will throw error : List has no rows for assignment to SObject.
Jun 7, 2017 at 11:35 comment added Prakash Sajwan Thanks Dan for your response. You solved my query. Just want to know if we call any method on Page Action, will it impact on any performance issue ?
Jun 6, 2017 at 15:42 history answered Dan Jones CC BY-SA 3.0