Tracking Previous page value using adobe Web SDK. | Community
Skip to main content
NorData
Level 2
April 17, 2025
Solved

Tracking Previous page value using adobe Web SDK.

  • April 17, 2025
  • 1 reply
  • 839 views

Hello Everyone,

 

How do you all track the previous page name  with adobe web sdk? What is the best way to track it? Wondering if we can still use the adobe’s getPreviousValue plug-in with Web SDK?

 

Appreciate any responses! 

Thanks.

1 reply

FarazHusain
Adobe Employee
FarazHusainAdobe EmployeeAccepted solution
Adobe Employee
April 17, 2025
Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
April 17, 2025

I agree, this should work, since this plugin basically just stores the value as a cookie (with a 30 min expiry), then if the cookie exists track the value, if it doesn't, it assumes this is the first page in the visit and doesn't track a value.

NorData
NorDataAuthor
Level 2
April 17, 2025

Thank you! I started implementing the getpreviousvalue plugin and noticed we need to set the “cookieName” while creating a data element using Common web sdk plugins extension. Wondering what do i need to mention here for the cookieName?