/Engine/Source/Runtime/Net/Core/Public/Net/Core/Analytics/NetAnalytics.h
The passed in struct will have to implement a CommitAnalytics function, which implements aggregation of the struct data, and the class which references this net analytics data will have to trigger this classes CommitAnalytics on the locally stored struct, when finished collecting local analytics data.
template<class TDataStruct> struct TBasicNetAnalyticsData : public [FNetAnalyticsData](API\Runtime\NetCore\Net\Core\Analytics\FNetAnalyticsData), protected TDataStruct