Modify 'personalise' tracking event to only send through 'guuid'
Currently, when a user performs a personalise
call, upon returning the library automatically sends an event to the collector containing the full received JSON payload. This is difficult to handle for a variety of reasons and probably expensive too.
Instead, we should only send through the resulting guuid
(part of the result JSON)
So this:
if(Primed.sharedInstance.primedTrackerAvailable){
[PrimedTracker.sharedInstance trackPersonalise:response];
}
Should probably become:
if(Primed.sharedInstance.primedTrackerAvailable){
[PrimedTracker.sharedInstance trackPersonalise:response["guuid"]];
}
Event object should look as follows:
{"guuid": "…"}
Edited by Matthijs van der Kroon