I’m trying to do a URL redirect with HTML tag scri...
# ask-questions
t
I’m trying to do a URL redirect with HTML tag script, but it’s not working and I don’t know why
This is the URLs that I’m redirecting
r
Hi Marcelo, Please can you send a full screenshot of the experiments overview page so we can further investigate? Also please can you send a screenshot of the HTML script tag in the <head> of your website and the SDK connector page? Looking forward to your response on the below :)
t
There we go 🙂
image.png
f
Hi Marcelo - I'm not seeing any live experiments running
is it still live?
Copy code
"status": 200,
    "features": {},
    "experiments": [],
t
Yes, it’s live
f
Can you check the SDK?
Do you have only the one: sdk-MIPLTDApobGxXdh ?
t
Have multiple sdk
But for this project, only this one is there
f
the one that is live, is not returning anything
seems like it might be targeted at the wrong project?
t
they are in the same project
f
are you running your own growthbook or is this our cloud?
t
it’s cloud
f
okay, let me try something
t
ok
Any update @fresh-football-47124?
f
I’m still not seeing any experiments on that SDK
t
the redirect url experiment should appear there?
I renamed the project, sdk and tag, also enabled Visual Experiments, then it started working. Probably some bug with those items @fresh-football-47124
f
Interesting
I’ll see if I can reproduce it
But glad you got it working
t
Sure, I’m just having a flicker with the screen, saw that there’s some options for javascript sdk, but since I’m using HTML Script Tag, there’s anything I could do to manage it?
I was able to reproduce by disabling Visual Experiments, it make the URL experiment disappear on the response of the sdk
f
oh interesting
there are a few ways to deal with client side flickering: we have an anti-flicker script (which blanks the page while things are loading), or you can try to make sure growthBook loads faster, or you can use the CDN edge SDK.
t
Sure, I’ve created a feature request to improve the antiFlicker build-in in growthbook https://github.com/growthbook/growthbook/issues/2765
Should I open one for this bug of Visual Experiments & Url Redirection?
r
Thank you Marcelo, yes please if you can open a bug report with replication steps for the Visual Editor and URL redirect we can further investigate 🌼
1