GA4 , here's the code snippet: