I am trying to create an audience based on exit and entry events i create in GA4.
To achieve this, i want to be able to pass the userproperty and event properties.
Events are getting created without an issue when i just pass event params
{
"client_id": "1931586512.171956xxxxx",
"events": [
{
"name": "demo_signup_4",
"params": {
"name": "John Doe",
"email": "[email protected]",
"signup_date": "2024-06-25"
}
}
]
}
But the event is not getting created when i pass the user parameters along with it
{
"client_id": "1931586512.1719xxxxx",
"events": [
{
"name": "Added to Segment",
"params": {
"date": "2024-06-25"
},
"user_properties": {
"name": "John Doe4",
"email": "[email protected]"
}
}
]
}
I dont see the event in GA portal. Am i missing something here?