• Resolved neilgee

    (@neilgee)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Ban’ is closed to new replies.