I'm not sure if this is quite the right place to post this, but it seemed the most appropriate!
I'm using Google Analytics to track metrics from a mobile app using the Measurement Protocol, however I'm getting an awful lot of spam coming though.
A bit of searching led me to things like this: How to fight off Google Analytics referrer spammers? that basically suggest adding a filter that only lets through things from a known host name. This is fine for a website, but isn't very useful for a mobile app as there isn't really a 'host' that valid data should be coming from (or am i missing something?).
What's the best way of filtering out the GA spam for a mobile app using the Measurement Protocol.