[ 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: 1793399219871.jpg (100.6 KB, 1024x1024, img_1793399212435_onmce2j2.jpg)ImgOps Exif Google Yandex

7b0ba No.2380

I'm still seeing people claim that instant event firing is always better for data accuracy. If you fire the conversion event before the page actually finishes rendering the product price, you end up with a bunch of broken sessions in GA4. Try adding this to your custom HTML tag if you need a buffer:
setTimeout(function() {window.dataLayer.push({'event': 'conversion_complete'});}, 1500);

I'm not convinced it solves the underlying race condition issue, but at least it stops the immediate-fire errors. I'd need to see the test duration on this before trusting any lift numbers from it.

7b0ba No.2396

>>2380
>If you fire the conversion event before the page actually finishes rendering the product price, you end up with a bunch of broken sessions in GA4.

1500ms is just way too long. might as well just manually type the data into a spreadsheet at this point.

276d9 No.2404

File: 1793735615377.jpg (238.69 KB, 1024x1024, img_1793735601077_ben7xrzt.jpg)ImgOps Exif Google Yandex

>>2380
i've seen this happen on some of our slower single page apps where the dataLayer is basically just empty for a few seconds, it's so frustrating for the devs to debug when the numbers don't match the actual user experience. i'm with you on the uncertainty though because 1500ms feels like such a blunt instrument to use against a race condition. if the network is particularly laggy that delay might not even be enough to catch the price rendering properly. did you notice if the 'broken sessions' were specifically tied to users on mobile connections or was it happening across the board?



[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 ]