Show creative per javascript event | XM Community
Question

Show creative per javascript event

  • 3 March 2020
  • 3 replies
  • 60 views

Userlevel 1
So I want to fire different creative based on javascripts events. As far as I understood I need to add this kind of logic https://prnt.sc/rb0anh . But it doesn't work for me. I tried different ways like <b>QSI.API.Events.push('hello_world') / window._qsie.push('hello_world') / document.dispatchEvent(new Event('hello_world') </b> . Am I missing something or it doesn't work as I expect?

3 replies

Userlevel 1
any ideas?

Any luck on this? I'm following this guide but can't seem to get it working either - https://www.qualtrics.com/support/website-app-feedback/intercepts-tab/edit-intercept-section/action-set-options/adding-event-tracking-triggering/#AdvancedEventTracking

Badge +2

I was able to get this to work using the following JavaScript. 

window._qsie = window._qsie || [];window._qsie.push('survey-qualified-contact-us');


You can see the intercept triggering logic set up here: 

 

 

You can debug the events on the page using the following method. 

QSI.EventTracker.counts

// Result below.
{
"eventName": 1,
"qualified-contact-us": 1,
"survey-qualified-contact-us": 5,
"undefined": 1
}

 

Leave a Reply