Design event APIs
under review
Colin Cuthbert
Hi. We are new to GameAnalytics and we are used to a different type of custom event API. We are used to sending an event name string, and a dictionary of string-value pairs for the parameters. While GA does provide such an API, I believe that parameters sent in that way are not visible on the dashboard (only via an external tool). If we are speccing our events in such a way, is the "correct" way to send those events to call NewDesignEvent once for the event name, and once for each event parameter. We commonly have 10 to 20 event parameters; so that would be 10 to 20 NewDesignEvent calls per event. Is that ok? Does each call have a significant overhead? Is there caching/batching going on under the hood?
A
Anton Liakhovich
under review
Nicky Toma
Hi Colin! You're right that the custom event fields will be visible on using Data Warehouse (BigQuery) or Data Export.
We do have caching and batching. Event batches are sent every 8 seconds. If the number of events in batches exceed 500, it will be sent at a smaller interval.
Related to your question about the events, you might run into issues of too many events per active users with that setup. Our current limits are 500 per user per day, in addition to cardinality limits. You can see more here: https://docs.gameanalytics.com/event-types/event-limits/
You could test it out and see if you go over the limits, we don't charge if you go over the limits or anything. As of now we also don't drop any events over the limits, but we will in the future, possibly starting around Sep 2025.
Perhaps you could also use custom dimensions to reduce the number of events?https://docs.gameanalytics.com/advanced-tracking/custom-dimensions/