django-google-optimize icon indicating copy to clipboard operation
django-google-optimize copied to clipboard

Issues when multiple experiments run at the same time and one of the cookies hasn't been set yet.

Open wghozayel opened this issue 2 years ago • 3 comments

I have two experiments set up in Google Optimize and both are set up in my admin and active. The experiments are set to trigger different pages. This issue is that request.google_optimize is empty unless both cookies are set. When a user visits one page and has that cookie set by Google, I cannot access it. As soon as the cookie is set for the second experiment, everything works as expected.

wghozayel avatar May 06 '22 02:05 wghozayel

I created a pull request to fix this issue. #49

wghozayel avatar May 06 '22 03:05 wghozayel

@wghozayel also noticed this issue, wonder if this package is still maintained?

jamesshaw49 avatar May 08 '22 23:05 jamesshaw49

@wghozayel also noticed this issue, wonder if this package is still maintained?

I hope it is! I created a pull request with a fix, its quite simple, just waiting for it to be merged and released.

wghozayel avatar May 09 '22 14:05 wghozayel