s.isPageview - what is the purpose of this in R&A | Community
Skip to main content
Vyom
Level 2
May 8, 2017
Solved

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

  • May 8, 2017
  • 4 replies
  • 2468 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Løjmann

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

4 replies

Løjmann
LøjmannAccepted solution
Level 5
May 8, 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

Level 2
May 11, 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

Level 2
May 11, 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

Løjmann
Level 5
May 13, 2017

Hi Kamal,

I'm not sure about the sensor files and how the setup with those are, so I can't respond to that.

/Thomas