little-forest-6261
09/18/2024, 9:41 AMexperiment_viewed
event is never triggered and the data layer is not updated. Can anyone help what I am doing wrong or what is missing?
This is the configuration in WebFlow:
<script>
window.growthbook_config = window.growthbook_config || {};
window.growthbook_config.trackingCallback = (experiment, result) => {
customEventTracker("Viewed Experiment", {
experiment_id: experiment.key,
variation_id: result.key
})
};
</script>
<script async
data-api-host="<https://cdn.growthbook.io>"
data-client-key="sdk-**************"
src="<https://cdn.jsdelivr.net/npm/@growthbook/growthbook/dist/bundles/auto.min.js>"
></script>