When tracking a custom event (for an experiment) i...
# ask-questions
a
When tracking a custom event (for an experiment) in GoogleAnalytics do I need to pass any data for growthbook or is this enough:
Copy code
window.gtag('event', 'custom_event');
f
do you mean for any conversion events or other events you want to use as a metric in growthbook?
a
I want to use it as a metric in growthbook
So in the metric I do get the data
But in the experiment where this metric is linked the data is not shown