Expand my Community achievements bar.

Check out the 3rd Edition of the AEP Community Lens for all the latest releases, resources, and Community updates
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

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.

page footer