Dear Community
I am trying to set-up and experiment using Growthbook and capturing events using Rudderstack.
Have added a custom event in theme-liquid.
Based on this https://docs.growthbook.io/lib/script-tag
However the custom events is not captured.
The error is that the object rudderanalytics is not defined at time of invocation of the call.
Which javascript file should this code snippet live?