Rich-text Reply

How to use Optimizely for Ajax pages

rafael 08-21-14

How to use Optimizely for Ajax pages

[ Edited ]



After user action an ajax call reloads parts of the page. Should I reactivate the experiment on each ajax call?

Level 2

Amanda 08-21-14

Re: Infinite Scroll Reload JS

Hi @rafael - Yep, you can definitely reactive the experiment on the ajax calls. You shoud also check out @Junan 's response in the "Ask the Expert" series to a question about Ajax. He explains how you can also  leverage the ajaxSuccess or ajaxComplete event handlers. 


Let us know if you have any questions on this!