• Resolved asafm7

    (@asafm7)


    Hello.

    I want to test the effect of a slider with A/B testing. That is, to check if the slider has any advantage over a single static image.

    What would be the best way to prevent a slider autoplay with JS for the B version?

    • This topic was modified 1 year, 2 months ago by asafm7.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Robert

    (@robertnextendweb)

    Hi @asafm7!

    You could pause the Autoplay with JavaScript like this:
    https://smartslider.helpscoutdocs.com/article/1966-pause-or-continue-the-autoplay
    But if this is all you want to test, then it is pointless to do so, as a static image will always outperform any slider. Sliders (not just Smart Slider 3) have significantly more complex HTML structures, thus use more HTML elements (even if you just add 1 image). Furthermore, sliders use more complex CSS and JavaScript, and in the case of a single image you won’t need anything like this (at most only CSS to change the appearance).

    So if you want to add only 1 image, without any other content, then do not use sliders for that, use the Gutenberg or your page builder’s Image element. If you want to show other content too besides that one image, that is when using a slider could be ideal, but only with the block type:
    https://smartslider.helpscoutdocs.com/article/1800-block-type
    or if you want to show more images, then with the Simple type:
    https://smartslider.helpscoutdocs.com/article/1780-simple-slider-type

    To sum it up: Sliders should only be used when you are building a more complex design, or at the very least more vivid content. Using a slider for a single image would be a total overkill.

    Thread Starter asafm7

    (@asafm7)

    Thanks @robertnextendweb .

    I didn’t mean testing speed (of course sliders are always slower). I meant testing the conversion rate.

    Does it make more sense?

    I will try to use the code you shared.

    Plugin Support Robert

    (@robertnextendweb)

    Okay, I get. As a plus info:
    If you want to disable the Autoplay, then you could just go to the Slider Settings > Autoplay tab:
    https://smartslider.helpscoutdocs.com/article/1807-slider-settings-autoplay
    that way you don’t even need extra scripts for this, we already have an option for it.

    Thread Starter asafm7

    (@asafm7)

    Thanks @robertnextendweb .

    The intention is to have it auto played for 50% of the visitors and static for the rest of the 50% – and see which group converts better. So the disabling of the auto playing needs to be done on the front end.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Preventing Slider Autoplay for A/B Testing’ is closed to new replies.