s.events not picking up?

Avatar

Avatar

Dave_hamel1

Avatar

Dave_hamel1

Dave_hamel1

12-07-2018

I am writing setting an event in the Launch interface,

1526868_pastedImage_8.png

and then adding a conditional event with JavaScript in the custom call section:

if (_satellite.getVar('dl-event-eventType')!==''){

    s.events = s.events + ",event83";

    console.log(s.events);

}

My console log here is outputting:

event82,event83

However the output in the analytics call is just:
    events: event82

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Dave_hamel1

Avatar

Dave_hamel1

Dave_hamel1

13-07-2018

I figured it out myself.  I needed to add s.trackEvents = "event82, event83"; 

Just in case anyone is having the same issue

Answers (2)

Answers (2)

Avatar

Avatar

Dave_hamel1

Avatar

Dave_hamel1

Dave_hamel1

13-07-2018

No worries!  I should have figure it out sooner.

Avatar

Avatar

jantzen_belliston-Adobe

Community Manager

Avatar

jantzen_belliston-Adobe

Community Manager

jantzen_belliston-Adobe
Community Manager

13-07-2018

Thanks for following up with your own solution. Sorry we weren't able to get to your question sooner.