Switching pages in SPA - window.optimizely.push(["activate"]) does no changes
I am using a single page app framework and I trigger a button color change.
It seems to work fine on first load. But, when I switch betwen pages and get bakc to the same page, I do call
but nothing changes and it looks liek the optimizely.activeExperiments array is also set to empty.
Really doesn't seem to work the ay the docs mention. Any help on this would greatly help us in adopting Optimizely.
Thanks for reaching out!
I understand that you are experiencing an issue with the activate call not firing after a couple pageviews on an AngularJS app.
Would you mind posting a link to your website so I can have a look? If you don't want to share the URL publicly, you can pm me directly the link.
Can you please also send me a link to the docs you are referring to?