nice-arm-56590
10/17/2023, 8:52 AMswift-helmet-3648
10/17/2023, 3:55 PMloadFeatures
on initialization?nice-arm-56590
10/18/2023, 9:28 AM<script id="growthbook-sdk" src="https://cdn.jsdelivr.net/npm/@growthbook/growthbook/dist/bundles/index.min.js" defer></script>
<script>
!function(){function o(){if(window.growthbook){var o=function o(){var t=document.cookie.split("; ").find(o=>o.startsWith("session_id="));if(t)return t.split("=")[1];var e="sess_"+new Date().getTime()+"_"+Math.random().toString(36).substr(2,9);return document.cookie="session_id="+e+"; path=/",e}();new growthbook.GrowthBook({apiHost:"<https://cdn.growthbook.io>",clientKey:"sdk-P3nTi9YufPFzCxgX",attributes:{id:o},enableDevMode:!0,subscribeToChanges:!0})}}window.growthbook?o():document.querySelector("#growthbook-sdk").addEventListener("load",o)}();
</script>
swift-helmet-3648
10/18/2023, 4:25 PMloadFeatures
is responsible for both loading features and experiments. It's necessary even if you only want to use the visual editor. Apologize for the slight misnomer, it's something we need to update eventuallynice-arm-56590
10/18/2023, 4:26 PMswift-helmet-3648
10/18/2023, 4:26 PMnice-arm-56590
10/18/2023, 4:28 PMswift-helmet-3648
10/19/2023, 4:36 PM