https://metaplay.io logo
d
What would be the best way to implement a custom analytisc for IAP if we implmemnted our store throuh Metaplay SDK - I am looking to integrate our chosen MMP sdk and other then capturing Analytics events on the client and then reinterpreting them and resending to our MMP I do not see a nice way and that seem a bit hacky
a
Hi! The Metaplay SDK only really offers a solution for analytics events emitted from the server. The SDK will produce obvious purchase related analytics events on the server and push them to the configured sinks. As long as the data required by the MMP is contained in the events and you can push the events to the service provider from server, then you can implement the format conversion in your custom sink implementation. See https://docs.metaplay.dev/feature-cookbooks/game-analytics/streaming-analytics-events-to-external-storage#implementing-a-custom-sink for reference. If there is additional data to be included in the events that is only known to the client, then maybe the data can be passed on to the server as part of the purchase flow and made available for the analytics sink via a custom analytics context.
2 Views