neim
trackingCallback: (experiment, result) => { // TODO: Use your real analytics tracking system console.log("Viewed Experiment", { experimentId: experiment.key, variationId: result.key, }); },
Michael De Carvalho
Vadim Ilchenko
failed to find conversion function from “unknown” to text
'All'
Emily Grace
Luis Berrocal
Yepher
Angelica Gonzalez
copy to prod
evalFeature
Erik Kahr
Dan Baran
<script> (function() { // Wait for the SDK to load before starting GrowthBook if (window.growthbook) { startGrowthbook(); } else { document.querySelector("#growthbook-sdk").addEventListener("load", startGrowthbook); } function startGrowthbook() { if (!window.growthbook) return; gtag('get', 'G-6GFJGEGDHC', 'client_id', function(cid) { var gb = new growthbook.GrowthBook({ apiHost: "<https://cdn.growthbook.io>", enableDevMode: true, clientKey: "sdk-xxxxxxxxxxxxx", // TODO: Add decryptionKey if using encryption attributes: { id: cid // TODO: Read user/device id from a cookie/datalayer }, trackingCallback: function(experiment, result) { console.log(result); analytics.track("Experiment Viewed", { experimentId: experiment.key, variationId: result.key, }); // TODO: track experiment impression } }); console.log(gb); console.log(gb.experiment); console.log(cid); // TODO: Instrument DOM with AB test logic }); } })(); </script>
Aditya Raman (ramanaditya)
Open source platform for stress free deployments, measured impact, and smarter decisions.