I wanna create a custom function in google appsscript to create a custom event in GA4, is it possible??
I tried to do this by connecting the google analytics api. And trying to create a js function in appscript, which would be able to create a custom event but I don't know if it's the right way to do it