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

Previous PageName Not working when we go different domain

Avatar

Avatar
Validate 1
Level 2
sailakumarip633
Level 2

Likes

6 likes

Total Posts

23 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
sailakumarip633
Level 2

Likes

6 likes

Total Posts

23 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
sailakumarip633
Level 2

20-12-2017

We used plugin (getPreviousValue )in DTM for capturing previous pagename in adobe analytics. When the domain changes (Pitney Bowes US | Digital Commerce, BI, Shipping & Mailing  to Pitney Bowes Shop US - Shipping, Mailing and Equipment  ) its capturing current pageName instead previous pageName. Does any one have fix for the issue?

Thanks,

Saila

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 10
Level 4
Rydal_Williams
Level 4

Likes

22 likes

Total Posts

72 posts

Correct Reply

23 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Give Back 10
Level 4
Rydal_Williams
Level 4

Likes

22 likes

Total Posts

72 posts

Correct Reply

23 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
Rydal_Williams
Level 4

20-12-2017

Hi Saila,

The reason for that is because getPreviousValue stores the cookie value at the domain level and because you are going from pitneybowes.com to pitneybowes.us you lose that value because you can't read cookies across domains. It looks like you are using s_gpv_pn as your cookie name to store that value.

Browsers these days are very restrictive on exchanging data across domains because of security reasons, so its going to be hard to accomplish such a feat. A scenario you could try is use a query string parameter on all url's that lead to .us!

A better question is why are you doing this - maybe I can help solve the ultimate goal differently?

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 2
sailakumarip633
Level 2

Likes

6 likes

Total Posts

23 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
sailakumarip633
Level 2

Likes

6 likes

Total Posts

23 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
sailakumarip633
Level 2

08-01-2018

Thank you, I will try query parameter approach.

Avatar

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

314 likes

Total Posts

866 posts

Correct Reply

264 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

314 likes

Total Posts

866 posts

Correct Reply

264 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile
PratheepArunRaj
Moderator

20-12-2017

Dear Gigazelle​, AbhijeetKMishra​, TanmayM​,

Can help?

Thank You!

Arun