Installation and configuring plug-in Google Analytics Server Side The plugin uses Measurement Protocol (Google Analytics 4). Create API Secret in GA4 Navigate to GA4 and create your new API secret by navigating to Admin > Data Streams > choose your stream > Measurement Protocol > Create
https://developers.google.com/analytics/devguides/collection/protocol/ga4