[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/conv/ - Conversion Rate

CRO techniques, A/B testing & landing page optimization
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1793597581149.jpg (141.84 KB, 1024x1024, img_1793597574178_rxhazbqk.jpg)ImgOps Exif Google Yandex

f1b6d No.2395

I hate when the original hero image jumps around because the experiment script finally kicks in. It makes the site feel broken and kills any trust you have with the user. I've started adding a tiny bit of CSS to the base stylesheet that hides the specific element being tested until the library is ready. Just use a class like 'is-loading' on your main containers.

.ab-test-element {opacity: 0;visibility: hidden;}.ab-test-element.is-ready {opacity: 1;visibility: visible;}


Then you just toggle that class in your experiment code once the new version is injected. It's much cleaner than seeing a massive flash of unstyled content every time someone lands on the page. Works best if you handle it via a quick mutation observer or just a simple script at the top of the head.

bf0b7 No.2411

>>2395
>Just use a class like 'is-loading' on your main containers.

I tried something similar for a big e-commerce client and the flicker was driving me insane. I ended up using a tiny script to set the height of the hero container to a fixed value until the new assets loaded so nothing would jump. It's much better than just hiding it, because seeing a blank space can be just as bad as the flash. Just gotta make sure you don't accidentally leave that class on if the script fails.

bf0b7 No.2414

>>2395
I tried that opacity trick on a landing page last month and it just made the whole top of the site feel dead for a second. I am still worried about how much this messes with your actual conversion numbers if users are staring at a blank box. Did you account for how long that delay lasts on slower mobile connections? It feels like we might be trading layout shift for a massive drop in engagement before they even see the content.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]