Today when I'm checking my Google Analytics report, I got the warning:

Google Search Quality has detected that one or more sites associated with the property ****** likely has been compromised.

A 3rd party might have modified existing content or added new spam content to your site. To protect your users, Google Search results might label your site as "This site may be hacked". Google Search might also serve an older, safe version of your site.

The following site(s) appear to be serving compromised pages: ******.com/

A compromised site can harm users by serving malicioius software (malware), collecting personal information, or by redirecting users to sites they didn't intend to visit.

You should take action immediately. If you already use Search Console, log in and check the Security Issues section to see specific examples of the pages that are affected and fix the issue. If you’re not familiar with Search Console, learn more about the steps you should follow to fix your site on http://google.com/webmasters/hacked.

What should I do in this case?

This is really dirty, this website stole my code and removed my ads code but forgot to remove my GA tracking code.

  • 2
    Assuming I read things correctly: The first thing I would do is create a DCMA complaint and describe that they are using your GA code and you got a notice. Not sure what will come of it. Also try the Google forums. Google engineers/employees often troll these sites and sometimes will respond. Otherwise, sometimes they will take action without responding.
    – closetnoc
    Jan 26, 2017 at 7:08
  • 2
    I do not think this is Google Analytics...it is Search Console. New pages are on your site...login and see if your web server has been hacked. Jan 26, 2017 at 13:49
  • 2
    Who's website is lable with "This site may be hacked". in Google search? Your's or someone else website? If someone else website is compromised then just ignore the message and add filter so your analytic stats count only your website hits, then fill a DMCA a request as closetnoc said.
    – Goyllo
    Jan 26, 2017 at 14:10
  • 1
    Couldnt you just open a new property with an entirely new tracking code?
    – DwillX
    Jan 26, 2017 at 22:53
  • 1
    See my answer here: webmasters.stackexchange.com/questions/56713/…
    – dan
    Jan 27, 2017 at 1:39

1 Answer 1


In google analytics, you can create a filter to exclude all traffic to the hostname that has your GA code.

To do so click on admin > All filters > Add filter

  • Give a name to the filter
  • Click on your website in the list and click add
  • select filter type: "exclude"
  • Choose "traffic to the hostname"
  • Choose "that contain"
  • Enter the domain name of the website that stole your Google Analytics code.

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.