Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Removing jsessionid in url's pages

diabolik75
Level 2
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
ParitMittal
Correct answer by
Level 10
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
ParitMittal
Correct answer by
Level 10
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

mpp72-3ZQAzP
Level 1
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.