@gowrann wrote:
I got a website Google slap for malware and in the Search console they said it was because of a WordPress plugin that adds the tracking code into the page https://wordpress.org/plugins/wp-piwik/
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 Searxh console as being 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.
Posts: 1
Participants: 1