Title: Google Ban
Last modified: August 31, 2016

---

# Google Ban

 *  Resolved [neilgee](https://wordpress.org/support/users/neilgee/)
 * (@neilgee)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/google-ban-1/)
 * I got a website Google slap for malware and in the Search console they said it
   was because of the Piwik tracking code that added to the page.
 * > Malware code injection
   >  Pages like the sample URLs directed users to a site
   > that serves malware. The source of malware may be embedded ads or other third-
   > party content on these URLs. Learn more Recommended actions 1. Review our resources
   > about Malware infection type: Code injection. 2. Check your source code (including
   > JavaScript files) for any unauthorized changes.
 * This is the code as shown to me in Search console as being malware injected
 * `<script type="text/javascript"> var _paq = _paq || []; _paq.push(['trackPageView']);
   _paq.push(['enableLinkTracking']); (function() { var u="//mydomain.com/piwik/";
   _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', 22]); var
   d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
   g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.
   insertBefore(g,s); })(); </script>`
 * So I have disabled the plugin and asked for a review – odd I have been using 
   the plugin for a while never had an issue – the tracking code looks normal – 
   so I am at a loss as to why they put a ban on the site. Will update when I get
   amy more info.
 * [https://wordpress.org/plugins/wp-piwik/](https://wordpress.org/plugins/wp-piwik/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/google-ban-1/#post-7105856)
 * Please contact the Piwik team at [http://piwik.org](http://piwik.org) – the plugin
   just adds the Piwik tracking code given by your Piwik instance; beside some changes
   related to your configuration (e.g., if you define a different cookie lifetime),
   WP-Piwik does not affect the tracking code (especially the piwik.js is not touched
   by WP-Piwik).
 * Maybe there is a vulnerability inside Piwik or your Piwik instance was compromised?
 *  Thread Starter [neilgee](https://wordpress.org/support/users/neilgee/)
 * (@neilgee)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/google-ban-1/#post-7105858)
 * Thanks – I have alerted Piwik
 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/google-ban-1/#post-7106099)
 * If somebody else is looking for this… update your Piwik instance (at least to
   2.16) and ask Google for a new review:
    [https://forum.piwik.org/t/google-ban-for-malware-injection/18295](https://forum.piwik.org/t/google-ban-for-malware-injection/18295)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Google Ban’ is closed to new replies.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [braekling](https://wordpress.org/support/users/braekling/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/google-ban-1/#post-7106099)
 * Status: resolved