Facebook tracking pixel image is converted to amp-img
instead of amp-pixel
#6059
Labels
Bug
Something isn't working
Changelogged
Whether the issue/PR has been added to release notes.
Good First Issue
Sanitizers
Milestone
Bug Description
On an AMP-first site I ran across the following
amp-img
:The Facebook tracking pixel is getting served as an
amp-img
instead of the more-appropriateamp-pixel
. I believe the underlying PHP code where this is coming from is from the Facebook for WooCommerce plugin:Expected Behaviour
The
AMP_Img_Sanitizer
should convert images with thehttps://www.facebook.com/tr
URL toamp-pixel
instead ofamp-img
.There are other tracking pixels out there in the wild which could be accounted for as well.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: