Visitor does not have cookie - NOT working properly. Help?
Below is my audience targeting. Two conditions. 1.) HAS optimizely test snippet. and 2.) DOES NOT HAVE cookie MOJO_AUTH.
This is not working. I DO have MOJO_AUTH and I am still triggering the experiment. What am I doing wrong?
Solved! Go to Solution.
try to set the condition for MOJO_AUTH to "equals" "true". Just a guess regarding expression evaluation.
typeof $.cookie('MOJO_AUTH') === 'undefined'
Really confused as to why my first attempt did not work. The cookie is there. Optimizely just straight up ignores the rule I set.