Skip to main content
Employee
November 20, 2022
Question

getPercentPageViewed implementation

  • November 20, 2022
  • 2 replies
  • 923 views

Hey all, I implemented the getPercentPageViewed plugin but i am not able to set the cookie s_ppv . If anyone implemented it recently and got the results. Kindly share the plugin code.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

yuhuisg
New Participant
November 21, 2022

How have you implemented it?

Jennifer_Dungan
New Participant
November 20, 2022

I I just ran a quick test, and the cookie is setting for me... I used https://experienceleague.adobe.com/docs/analytics/implementation/vars/plugins/getpercentpageviewed.html?lang=en

 

Instead of setting values into props, I just did a console log:

 

And here is the cookie:

 

 

Are you getting a JS error? Did you install the plugin in the proper place, and are you calling it correctly?

 

Any information you can share about your implementation will help us to help you.

pAvAnV6Author
Employee
November 21, 2022

Hey @jennifer_dungan , I implemented it correctly as per the instructions in the https://experienceleague.adobe.com/docs/analytics/implementation/vars/plugins/getpercentpageviewed.html?lang=en.

But i couldn't get the proper result.