Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get groupProperties, eventProperties, groups in amplitude session #104

Open
hariappfire opened this issue Jun 11, 2024 · 0 comments
Labels
question Further information is requested

Comments

@hariappfire
Copy link

Summary

I am unable to get the following fields in logged event amplitude dashboard,
I am passing the following properties,
eventProperties, groupProperties, groups even they are assigned,
Event ampliEvent = new Event(event.getValue(),(String)hostInfo.get("host")); JSONObject groupProps = new JSONObject(); // groupProps.put("license",((String)pluginInfo.get("licenseId")).equalsIgnoreCase("NONE")?"unavailable": (String)pluginInfo.get("licenseId")); groupProps.put("test","test_group"); ampliEvent.groupProperties = groupProps; JSONObject groups = new JSONObject(); groups.put("orgId", 10); ampliEvent.groups = groups; ampliEvent.userProperties = groups; ampliEvent.eventProperties = new JSONObject().put("test","testEvent"); JSONObject finalObject = ampliEvent.toJsonObject();

The following is the amplitude session logged with missing properties in group_properties, event_properties, groups
"device_type": null, "display_name": "AppInstalled", "dma": null, "event_id": 0, "event_properties": { }, "event_time": "2024-06-11 06:30:00.834000", "event_type": "AppInstalled", "group_properties": { }, "groups": { }, "ip_address": null, "language": null, "library": "amplitude-java/1.12.2", "location_lat": 0.0, "location_lng": 0.0, "os": "", "os_name": null, "os_version": null, "partner_id": null, "paying": null, "plan": { }, "platform": null, "processed_time": "2024-06-11 06:30:24.288000", "region": null, "sample_rate": null, "server_received_time": "2024-06-11 06:30:22.792000", "server_upload_time": "2024-06-11 06:30:22.795000", "session_id": -1, "source_id": null, "start_version": null, "timeline_hidden": false,

@hariappfire hariappfire added the question Further information is requested label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant