Reputation: 3214
I'm looking at Googles Measurement Protocol, which gives you a way to send google analytics information from your server. However, there doesn't seem to be any authentication required. Have I missed something? Otherwise, what's to stop other people randomly spamming fake data to my account?
Upvotes: 18
Views: 1695
Reputation: 3971
The measurement protocol is to make collection of data as simple as possible. Think of it as an arbitrary data sink.
To separate fake data from data generated by sources under your control you can use a property of a hit you report. E.g. by setting a custom metric to some secret. Collected data then can be filtered by that property to exclude possibly "fake" data.
Upvotes: 0
Reputation: 1896
There is no authentication required. There is nothing to stop people randomly spamming your account.
This is what has lead to the 'Ghost Referral' issue. See Link: https://moz.com/blog/stop-ghost-spam-in-google-analytics-with-one-filter
Google Analytics was initially set up the measurement protocol with good will envisaged, however this has not been the case.
Upvotes: 6