Skip to main content
satishk38346838
Level 2
Nov 2, 2016 7:37 AM UTC
Solved

Not able set events in Web Page using manual S object

Hi,

Using DTM, I am tracking web pages. My requirement I want to set eVars, Props , products & events in web page manually by using s object.

I tried using var s = _satellite.getToolsByType('sc')[0].getS(); this code. But it's not working.

Kindly provide inputs to achieve this requirement.

Thanks & Regards,

Satish Kumar G

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
jantzen_b
jantzen_bAccepted solution
Adobe Employee
Nov 10, 2016 3:42 PM UTC

HI Satish,

Can you provide more information around why it isn't working? You may need to use a different variable from 's'. I tried your code on one of my test sites that has DTM deployed 

var mySVar = _satellite.getToolsByType('sc')[0].getS(); mySVar.eVar1 = "testval" mySVar.t();

This produced the following image request:

 

Thank you,
Jantzen

3 replies

jantzen_b
Adobe Employee
jantzen_bAdobe EmployeeAccepted solution
Adobe Employee
Nov 10, 2016 3:42 PM UTC

HI Satish,

Can you provide more information around why it isn't working? You may need to use a different variable from 's'. I tried your code on one of my test sites that has DTM deployed 

var mySVar = _satellite.getToolsByType('sc')[0].getS(); mySVar.eVar1 = "testval" mySVar.t();

This produced the following image request:

 

Thank you,
Jantzen

Translate
jantzen_b
Adobe Employee
Adobe Employee
Jan 17, 2017 5:01 PM UTC

Hi Satish,

Did my previous response answer your question, or did you still have questions?

 

Cheers,

Jantzen

Translate
satishk38346838
Level 2
Jan 18, 2017 6:00 AM UTC

Thank you Jantzen. Issue is resolved.

Thanks & Regards,

Satish Kumar G

Translate