s.events not picking up? | Community
Skip to main content
Level 3
Jul 12, 2018 6:26 PM UTC
Solved

s.events not picking up?

I am writing setting an event in the Launch interface,

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Dave_Hamel_2024Accepted solution
Level 3
Jul 13, 2018 1:16 PM UTC

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

Just in case anyone is having the same issue

3 replies

Level 3
Jul 13, 2018 4:14 PM UTC

No worries!  I should have figure it out sooner.

Translate
jantzen_b
Employee
Jul 13, 2018 3:29 PM UTC

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

Translate
Dave_Hamel_2024AuthorAccepted solution
Level 3
Jul 13, 2018 1:16 PM UTC

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

Just in case anyone is having the same issue

Translate