How can randomly rotate slider content depending on user behavior?

Can I change the homepage slider depending on whether someone has recently been to the site? Or rotate the sliders instead of always starting at the first one?

Welcome to the forums

Are you using a pre-made slider, if so which one? Many of them allow you to define rotation/order as javascript options.

We are using Royal Slider.

<snip/> I know we can post it randomly. I’m not clear how to do it based on user behavior.

Hi anna74, welcome to the forums,

That’s a paid slider. They offer support and have a forum, did you try those?

If so and that has been no help, maybe try a different free slider?

They also provide docs online as well, http://dimsemenov.com/plugins/royal-slider/documentation/#options