Removing jsessionid in url's pages | Community
Skip to main content
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 ParitMittal

Hi ,

As per our understanding , you are not putting any PageName value in s.pageName Hence it defaults to Page URL . Hence we would suggest to refer the below documentation on Page URL.

https://marketing.adobe.com/resources/help/kb/en_US/analytics/kb/obtaining-url-reports.html

Thanks & Regards

Parit Mittal

2 replies

ParitMittal
ParitMittalAccepted solution
Level 10
June 23, 2016

Hi ,

As per our understanding , you are not putting any PageName value in s.pageName Hence it defaults to Page URL . Hence we would suggest to refer the below documentation on Page URL.

https://marketing.adobe.com/resources/help/kb/en_US/analytics/kb/obtaining-url-reports.html

Thanks & Regards

Parit Mittal

February 10, 2017

Or you stick with location.href and remove ;jsession.

s.pageURL = window.location.href.replace(/;jsessionid=\w{32}/g, "");

Assuming the jessionid is 32 characters long.