https://www.growthbook.io/ logo
#give-feedback
Title
# give-feedback
b

broad-continent-77439

10/19/2022, 3:49 PM
Hey all, another potential bug, the URL Targeting in the visual editor is causing issues, e.g. if you set the URL Targeting to
<https://www.example.com/>
accessing the
<https://www.example.com/abc123>
sub page will also still trigger the experiment. & it is not an SPA page, it's a next.js SSR page! so the
window.location.href
is accurate
If anyone can help please. Still do not know how URL Targeting work in visual editor experiments!
@fresh-football-47124 @future-teacher-7046
f

fresh-football-47124

10/24/2022, 9:16 AM
you need to add a end regex - so https://www.example.com/$
👀 1
can you give that a try?
b

broad-continent-77439

10/24/2022, 9:49 AM
Thanks a lot @fresh-football-47124 ❤️ That works nicely! Any idea why the experiment is not running when I navigate to the target page with Next.js? I do have the
window.growthbook.refresh()
implemented nicely on route changes 👀
f

fresh-football-47124

10/24/2022, 9:50 AM
@future-teacher-7046 any ideas?
👀 1
7 Views