Hi Dan, we can definitely help with this. Any screenshots you can send would be super helpful! I'll update here with answers to your questions later today
r
rhythmic-agent-34208
11/17/2023, 12:02 AM
Hi again, Dan, thanks for your patience.
In the near future we'll be releasing a first-class way of using feature flags for redirects. In the mean time, the approach you outlined should work.
There is another approach, as well, which would be to use the Visual Editor to set the JavaScript to change the location.href URL.
rhythmic-agent-34208
11/17/2023, 12:07 AM
That said, while looking this over, it seems like your SDK might not be setup correctly since the `isOn()` function isn't working.
Unfortunately, GTM is notoriously challenging to integrate with GrowthBook, though of course not impossible!
To determine if the SDK is setup correctly, you could add `console.log()` statements at various points throughout your GrowthBook code as a debugging tool. That could tell us how far into the integration things *are* working and where they might be falling apart.