Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.
SOLVED

Dynamic Variable prefix and links

Avatar

Level 4

Hi,

I am trying to copy the the link values into an eVar by using Dynamic variable prefix.

s.eVar2='D=pev2'

But, so far I have not been able to achieve my objective. Can anybody help me here.

Regards,

Sanmeet

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi

I believe s.tl() request is a volatile image , whatever called in image cant be copied on page load image- s.t().

You want keep the eVar and link name same and want to use link name as a reference point for the next/following page ? please correct me if i am wrong.

You can use the following snippet.

s.linkTrackVars='eVarX';
s.eVarX=" Link Name ";
s.tl(this,'o',s.eVarX);

 

Please let me know if you want any information.

Regards

Devinder

View solution in original post

4 Replies

Avatar

Level 6

have you tried:

s.eVar2="D=pev2";

Avatar

Community Advisor

Hi Sanmeet,

 

Send us the full code and the image request as a result.

What do you see in SC ? 

Do you use processing rules ? Any Vista rules ? 

Best regards.

 

Alexis Cazes

Avatar

Level 5

Hi

Could you please send me snippet.

 

Regards

Devinder

Avatar

Correct answer by
Level 5

Hi

I believe s.tl() request is a volatile image , whatever called in image cant be copied on page load image- s.t().

You want keep the eVar and link name same and want to use link name as a reference point for the next/following page ? please correct me if i am wrong.

You can use the following snippet.

s.linkTrackVars='eVarX';
s.eVarX=" Link Name ";
s.tl(this,'o',s.eVarX);

 

Please let me know if you want any information.

Regards

Devinder