Avatar

Level 5

Hi Cathy,

Try this below code to enable getpercentviewed function. I have validated both s.pagename and s._ppvPreviouspage in first condition.

    if(s.pageName && s._ppvPreviousPage)

        s.getPercentPageViewed();

    if(s._ppvPreviousPage)

        s.eVar10 = s._ppvHighestPercentViewed;

Regards

Ashok