You see what the documentation fails to mention, at least the time that I read through it, is that you need to send a ‘platform’ as well. If you do not specify a platform, your analytics will end up in /dev/null. Add a platform with either of these values: ’Android’, ‘iOS’, and your analytics should show up within minutes.
Please ignore this PR if this is not right, thanks! :)
I wasn't able to get my event data showing up on my mobile analytics - Custom Events tab until I passed in platform variable in my options.
It seems someone else had the same issue before as well http://brian.jp/post/115260296866/setting-up-aws-mobile-analytics-with-javascript:
Please ignore this PR if this is not right, thanks! :)