Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Removing jsessionid in url's pages

Avatar

Level 2

Hi all,

in site the urls are in this format

 

www.test.com/index.html?jsessionid=183926321

Now, jsessionid can have multiple value so, in the report pages I have the same page but replicate for different jsessionid.

Who I can remove jsessionid from report pages?

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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

Avatar

Level 1

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.