[wp-trac] [WordPress Trac] #50468: WordPress Amazon Embed code is adding affiliate tracking code when any amazon product URL is pasted on both editors
WordPress Trac
noreply at wordpress.org
Fri Jun 26 12:26:13 UTC 2020
#50468: WordPress Amazon Embed code is adding affiliate tracking code when any
amazon product URL is pasted on both editors
-----------------------------------+----------------------
Reporter: jayantkumarrana | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Embeds | Version: 5.2
Severity: normal | Resolution: invalid
Keywords: has-screenshots close | Focuses:
-----------------------------------+----------------------
Changes (by johnbillion):
* status: assigned => closed
* focuses: coding-standards =>
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
@jayantkumarrana Are you the author of that article? If so I recommend you
redact it entirely, or contact the author and recommend that they do.
`kpembed-20` is the default `ref` value that's used for all Amazon oEmbeds
and nobody is earning $17M commission from this.
This can be seen in the response to an oEmbed request to Amazon
(https://read.amazon.com/kp/api/oembed?maxwidth=600&maxheight=870&url=https%3A%2F%2Fwww.amazon.com
%2FAmazonBasics-Microfiber-Sheet-Set-
Queen%2Fdp%2FB00Q7OAFDK%2F&dnt=1&format=json):
{{{
{
"author_name": null,
"width": 600,
"html": "<iframe type=\"text/html\" width=\"600\" height=\"550\"
frameborder=\"0\" allowfullscreen style=\"max-width:100%\"
src=\"https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_qWKQVhbjIwcPGC&asin=B00Q7OAFDK&tag=kpembed-20\"></iframe>",
"provider_url": "https://www.amazon.com/b?ie=UTF8&node=13489836011",
"type": "rich",
"title": "AmazonBasics Lightweight Super Soft Easy Care Microfiber
Sheet Set with 16\" Deep Pockets - Queen, Spa Blue",
"provider_name": "Amazon",
"version": "1.0",
"height": 550
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50468#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list