Hi, everyone!
I’m having an issue with growthbook context in nextjs page project. I set up visual experiment with DOM modification on landing page.
The problems is when I read
gb.getAllResults()
it shows me that all variationId is set to 0 but in reality it’s showing variation 1. The problem applies only for deployment, where as in local env works perfectly fine. How can I resolve this issue?
f
fresh-football-47124
04/29/2024, 4:31 AM
it might be that the attributes are updating later
fresh-football-47124
04/29/2024, 4:31 AM
after you're calling getAllResutls
fresh-football-47124
04/29/2024, 4:31 AM
if you're using the visual editor ,you can use the dev tools