s.isPageview - what is the purpose of this in R&A

Vyom

07-05-2017

Can you please help me understand the purpose of having s.isPageview in the appmeasurement code..

I am also seeing s.isPageview in Data Workbench Sensor file added to the web pages...

Thanks - Kamal

Accepted Solutions (1)

Accepted Solutions (1)

Løjmann

08-05-2017

Hi Kamal,

We have used it to control what parts of s_doPlugins() to execute on all request and what to only execute on page loads.

/Løjmann

Answers (3)

Answers (3)

suhasr65578280

11-05-2017

Thank you Løjmann. Please take a look at the below and help.

Appmeasurement code says  s.isPageView = true

But the Insight senor says  s.isPageView = false. I am not sure on the use of false here. Does this mean Insight Sensor do not want to execute on page load. Can you please let know why false is used here. Can you please help. 

"Sensor files collects few variables from each page. At the end of this code  s.isPageView = false".

Thanks

Kamal

suhasr65578280

11-05-2017

Thank you Løjmann. Please take a look at the below and help.

Appmeasurement code says  s.isPageView = true

But the Insight senor says  s.isPageView = false. I am not sure on the use of false here. Does this mean Insight Sensor do not want to execute on page load. Can you please let know why false is used here. Can you please help. 

"Sensor files collects few variables from each page. At the end of this code  s.isPageView = false".

Thanks

Kamal