# ask-questions


02/13/2024, 4:58 PM
Hello everyone, I've noticed an issue with uneven traffic distribution between two landing pages during A/B testing with GrowthBook. We set it to have a 50/50 split, but the distribution seems way off (see screenshot). I'm using a simple JavaScript redirect in the control page to handle the redirection which I know is not the best approach. Could this approach be causing the uneven split? Has anyone encountered this before or have insights on adjusting the settings to ensure an even split? Any advice or resources would be greatly appreciated! An example of the redirection I'm using:
Copy code
if ( && !'edit_mode')) {
    window.location.href = '<>' +


02/13/2024, 5:00 PM
Hi Julio, yes a redirect like that could cause traffic issues. If the redirect happens before the tracking event can be sent to your analytics tool, then the experiment exposure event will not be recorded and the user won't be included in the analysis. The safest solution is to add a small delay before redirecting
👍 1