I am trying to migrate my existing code from Universal Analytics to GA4.
This is the data I used to send using measurement protocol (not to be confused with JS library)
URL of page visited
User agent
Referral URL
User IP
This way, I could see the following details on GA.
Page view per user
Sessions per user
Location of user
User device info
URL of page viewed and the referal URL.
https://developers.google.com/analytics/devguides/collection/protocol/ga4
I follow this guide. But I am only able to send an event_name. It's missing rest of the data.