Removing jsessionid in url's pages

Avatar

Avatar

diabolik75

Avatar

diabolik75

diabolik75

22-06-2016

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

ParitMittal

Avatar

ParitMittal

ParitMittal

23-06-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

Answers (1)

Answers (1)

Avatar

Avatar

mpp72-3ZQAzP

Avatar

mpp72-3ZQAzP

mpp72-3ZQAzP

10-02-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.