DTM - How to add s.variables as Data element values?

Avatar

Avatar
Validate 1
Level 2
haritikam738202
Level 2

Likes

13 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
haritikam738202
Level 2

Likes

13 likes

Total Posts

22 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
haritikam738202
Level 2

11-07-2019

Hi,

In the event - click tracking on a button, I am trying to capture the s.PageName value as eVar for that specific event call.

Any ideas on how I can do it below:

Screen Shot 2019-07-11 at 6.01.42 PM.png

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Level 2
Vijaya_Vignesh1
Level 2

Likes

12 likes

Total Posts

13 posts

Correct reply

5 solutions
Top badges earned
Establish
Validate 1
Give Back
Shape 1
Boost 5
View profile

Avatar
Establish
Level 2
Vijaya_Vignesh1
Level 2

Likes

12 likes

Total Posts

13 posts

Correct reply

5 solutions
Top badges earned
Establish
Validate 1
Give Back
Shape 1
Boost 5
View profile
Vijaya_Vignesh1
Level 2

03-09-2019

In general Inside the custom code section of Adobe analytics, you can use.

s.eVar1 = s.pageName;

But since this is a s.tl call, which sends data without page view I assume s.pageName value will be unspecified in the reports.

Rather you can directly pass page name value to eVar1. say for eg: if you are getting page name value from a dataelement 'pageName'

for s.tl calls, use this

instead of s.pageName = _satellite.getVar('pageName');

send

s.eVar1 = _satellite.getVar('pageName'); or you can manually set the particular data element.

Hope this helps.

Answers (0)