The ‘amp-pixel-latest.js’ custom script appears after updating to 1.0.8
-
Hi! I have found a new issue after update to 1.0.8. A script related to the amp-pixel appears automaticaly into the header when I insert the pixel AMP tag into the footer. The AMP project hasn’t a script to amp-pixel tag, it doesn’t exists, this link return a 404 and the Google Search Console has the error “Custom JavaScript is not allowed”.
So, I decided to rolled back to my last version (0.9.98.22) and open this support topic. Probably, the plugin has other tags with the same issue, not only amp-pixel. Something related to the autoloader or sanitizer process.
the script:
<script custom-element="amp-pixel" src="https://cdn.ampproject.org/v0/amp-pixel-latest.js" async></script>
the pixel tag:
<amp-pixel data-block-on-consent src="//whos.amung.us/swidget/some-id.gif"></amp-pixel>
- The topic ‘The ‘amp-pixel-latest.js’ custom script appears after updating to 1.0.8’ is closed to new replies.