Venting out, sharing findings that took me time or just keeping notes for myself.
It's a simple javascript one-liner:
gtag("event", "your_event_name");
That's it!