Rich-text Reply

Is it possible to track a hover/mouseover instead of a click?

davidpetrey 12-05-16

Is it possible to track a hover/mouseover instead of a click?

Is it possible to track a hover/mouseover instead of a click?

robertchan 12-06-16
 

Re: Is it possible to track a hover/mouseover instead of a click?

Yes, you can add something like the following into your experiment's variation code:

 

$('#some-selector').hover(function(){
    window.optimizely.push(["trackEvent", "eventName"]);
});
Robert Chan

Experimentation Hero