Expand my Community achievements bar.

SOLVED

s.events not picking up?

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Level 4

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

Just in case anyone is having the same issue

View solution in original post

3 Replies

Avatar

Correct answer by
Level 4

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

Just in case anyone is having the same issue

Avatar

Level 10

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

Avatar

Level 4

No worries!  I should have figure it out sooner.