Google Ads declares matomo as maleware

Hi all,

I had the problem that several Google Ads advertising campaigns on different websites were suddenly deactivated with the message “maleware”. (After they had been running for years).
After a bit research, Google informed me that the following URLS were classified as malware:

https://mysite**.com/analytics/matomo.js,
https://mysite**.com/analytics/matomo.php

Does anyone know this problem or the background? Of course Google wants to distribute its own Analytics, but that should not be the problem. The Matomo installations are always on the latest version.

Thanks!

Hi,

You might want to look through this thread:
Adwords campaign rejected. For Google Matomo javascript is a Malware

Especially

and maybe get in contact with @rstark :

1 Like

Hi, thanks for the quick feedback!
All this posts are from the last year or 2020 and looks like it is resolved… so no current issue. But will try to comment there.

Best

Hi @Lukas ,
in case that the issue is till active on our side we try to solve this in any possible way.
Can you please check if the code I will pose below is fine (from one of our js files)
Thanks!

Update, can’t upload here anything as TXT.
Please see: https://we.tl/t-ayO3CQE5z8

The fact that you pretty-printed the file makes it hard to compare it to the orignal file.
You can check in https://github.com/matomo-org/matomo/blob/8188140d9daf90b2aec1bbd6ff76b2218c288ad0/js/piwik.min.js how it is supposed to look like (but keep in mind that Matomo plugins can modify matomo.js)

Hi, we have the same problem with Google Ads.
We installed Matomo on 2 of our websites and both got topped because of Maleware.

We contacted the Google Ads Support, but they only told us to cancel Matomo.
So we had to cancel it from our website, in order to continue with Google Ads.

Is this common at the moment?