Has anyone else experienced seriously skewed numbers going out to Amplitude?
Long story short, our game har•mo•ny is using Amplitude for analytics. I have “IAP” events sent once per successful “purchased” callback from the store API. Since launch I’ve noticed oftentimes a 10x to 15x HIGHER reported rate of IAP events logged with Amplitude than what actual IAPs are reported in iTunes Connect.
Apparently amplitude.logEvent() calls are being fired repeatedly like every 3 seconds. Checking my code this is impossible from the user’s end as the amplitude.logEvent(‘IAP’) call happens only once and that callback is immediately destroyed upon being called. The only way that the purchased callback happens is when it’s initiated from a full store.purchase() flow… The store listener calls the callback once, then immediately destroys it.
Evern weirder, iTunes Connect yesterday for example showed successful IAPs from only 5 countries, whereas the data Amplitude is collecting is for about 40 unique countries. For example, China had numerous IAP events registered in Amplitude, each with unique device IDs. iTunes Connect, however, had none for China.
This is very, very weird. How in the world could this be happening and has anyone else experienced this?
Some thoughts about possible cause:
- Users in foreign countries somehow using jailbroken phones and hacking though purchasing IAPs (unlikely).
- Somehow the Amplitude plugins inside Corona makes repeated calls even though being initiated only once
- Even worse, if Corona were somehow registering a successful ‘purchased’ callback from a store.purchase() call without ever really thoroughly calling Apple’s servers. That would be devastating as it would mean lost revenue
Thoughts anyone? Thanks for your help! I’m using the latest public build 1202.
Nate