I deployed a web app a couple of days ago and installed Google Analytics on it to track activity.
Almost everyday, I have at least one recorded pageview pointing to a site like www.pornhub-forum.ga/postxxx or www.youporn-forum.ga/topixxxxx, which, when I follow it, obviously points to a porn web site.
How are these pageviews ending up in my analytics data? How can I avoid getting them (if possible)? Does this mean there is a security flaw in my app?
My best guess for how this happens is that there's a robot that is issuing http messages at mywebsite/#/www.pornhub... or that is reading my Google Analytics code to record fake data, but I don't know what they would expect to achieve which such an attack.
See Question&Answers more detail:os