18

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?

3
  • 1
    After 3 years I have the same question... Nobody can answer?
    – mondayguy
    Commented Dec 11, 2016 at 19:12
  • 2
    6 years ago… still… just to checkin here Commented Jan 25, 2019 at 11:46
  • @BogdanSavluk What are you checkin in for? What is unclear?
    – sdhaus
    Commented Feb 11, 2020 at 14:18

2 Answers 2

6
+50

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: enter image description herehttps://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.

2
  • What if I use Measurement Protocol to send data to google analytics? This trick won't work. Is there any method to configre google analytics recieve data only from your server ip or smth?
    – mondayguy
    Commented Dec 14, 2016 at 16:56
  • What do you mean by "What if I use Measurement Protocol to send data to google analytics? This trick won't work."? There is no method to configure Google Analytics to receive data from only designated servers. The goal of the Measurement Protocol was to "allow developers to measure how users interact with their business from almost any environment".
    – sdhaus
    Commented Dec 14, 2016 at 19:05
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.