Hello, hello. We are trying to run an experiment o...
# ask-questions
l
Hello, hello. We are trying to run an experiment on WebFlow via GTM. SDK is installed, but the
experiment_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:
Copy code
<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>