{"id":43975,"date":"2009-09-25T06:17:07","date_gmt":"2009-09-25T06:17:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/amazon-affiliate-link-localizer\/"},"modified":"2013-07-23T22:10:57","modified_gmt":"2013-07-23T22:10:57","slug":"amazon-affiliate-link-localizer","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/amazon-affiliate-link-localizer\/","author":4556189,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.9","stable_tag":"1.9","tested":"3.5.2","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"Amazon Affiliate Link Localizer","header_author":"Pete Williams","header_description":"","assets_banners_color":"","last_updated":"2013-07-23 22:10:57","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/petewilliams.info\/donate","header_plugin_uri":"http:\/\/petewilliams.info\/blog\/2009\/09\/amazon-affiliate-link-localizer-wordpress-plugin","header_author_uri":"http:\/\/petewilliams.info","rating":3.5,"author_block_rating":0,"active_installs":200,"downloads":75267,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog","other_notes"],"tags":[],"upgrade_notice":{"1.5":"<p>Increase your conversion rate with the latest version. Support for new Amazon sites added. It also now searches by title for any items not found with the same product ID.<\/p>","1.5.1":"<p>Bug fix: upgrade immediately to increase conversions.<\/p>","1.6":"<p>Dramatically improved geolocation accuracy by adding a secondary geolocation service as a fallback for when the Google geolocation API is unable to detect someone&#039;s location.<\/p>","1.6.1":"<p>Important updated to reflect a change in how Amazon now handles 404 errors. Update to ensure the correct link is always used.<\/p>","1.7":"<p>Added support for new Spanish Amazon.es site<\/p>","1.7.1":"<p>Added workaround for sites with poorly formed URL rewrites which prevents some links from changing<\/p>","1.7.2":"<p>Fixed bug that meant that some local sites weren&#039;t being redirected to if an ID wasn&#039;t supplied for it.<\/p>","1.7.3":"<p>Various minor improvements and fixes. Upgrade now to increase your conversion rates.<\/p>","1.7.4":"<p>Minor bug fixes to fix some more obscure links<\/p>","1.8":"<p>Important update to prevent behind-the-scenes URL calls from logging against your affiliate ID. Upgrade now to increase your conversion rates.<\/p>","1.8.1":"<p>Bug fix to previous version. Urgent update<\/p>","1.8.2":"<p>Minor bug fix - only effects repeated amzn.to links<\/p>","1.8.3":"<p>Maintenance release. Updated recommended.<\/p>","1.9":"<p>Added support for new Amazon India site (Amazon.in) and made various other improvements and fixes. Important update.<\/p>"},"ratings":{"1":"2","2":0,"3":"2","4":0,"5":"4"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","1.2","1.3","1.4","1.5","1.5.1","1.6","1.6.1","1.7","1.7.1","1.7.2","1.7.3","1.7.4","1.8","1.8.1","1.8.2","1.8.3","1.9"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[369,209,6842,175],"plugin_category":[35,45,59],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-43975","plugin","type-plugin","status-closed","hentry","plugin_tags-affiliate","plugin_tags-amazon","plugin_tags-associates","plugin_tags-links","plugin_category-advertising","plugin_category-ecommerce","plugin_category-utilities-and-tools","plugin_committers-petewilliams"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/amazon-affiliate-link-localizer.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin not only automatically changes any Amazon link on your site to use your affiliate ID, but it also changes the link to point to the user's local Amazon store.<\/p>\n\n<p>So if your visitor is visiting from the UK they'll get a link to Amazon.co.uk, if they're visiting from the US they'll get a link to the same product on Amazon.com.<\/p>\n\n<p>All you have to do is provide all your affiliate IDs.<\/p>\n\n<p>It doesn't matter if the link is in your post, in your template or anywhere else on your page - it'll be converted automatically.<\/p>\n\n<p>If you find this plugin helpful and it's increasing your sales, please consider <a href=\"http:\/\/petewilliams.info\/donate\">donating just \u00a31<\/a> or more to say thanks for the many, many hours I've spent on it. I'd really appreciate it!<\/p>\n\n<p>Disclosure:\nIf you don't have an affiliate account with one of the Amazon countries and leave its setting blank, the script will use mine. It'll never overwrite your affiliate IDs though, so don't worry - you'll never lose any revenue.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>amazon_affiliate_link_localizer<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Enter your Affiliate IDs under the settings page<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>My, what a delightful plugin, and it's free? Wow, you're too kind - can I buy you a pint?<\/dt>\n<dd><p>You most certainly can you kind and gracious soul! There is a PayPal donation form here and I promise to spend all proceeds on beer: http:\/\/petewilliams.info\/donate<\/p><\/dd>\n<dt>I've installed the plugin, but the links aren't changing<\/dt>\n<dd><p>To ensure it doesn't slow your site down the script waits until everything else is loaded before running. Make sure the page is fully loaded before checking your links.<\/p><\/dd>\n<dt>Why do my links go to a search result page, not straight to the product<\/dt>\n<dd><p>The script works by looking at product IDs. If the product exists on the local site with the same ID, then it'll link to there. If not, it will get the item's name and link to a search results page for it. This means that, for example, even though the UK and US PlayStation 3s are technically different models as they have different plugs etc the user will still get a link to a PS3.<\/p><\/dd>\n<dt>Does it work with Amazon Widgets?<\/dt>\n<dd><p>Not yet. Most of the widgets work by embedding iframes into your page. The script cannot access the links as they are actually on Amazon's page not yours. I'm looking at adding support for these in a future version. Install it anyway though - it will work with your normal links and won't do your widgets any harm.<\/p><\/dd>\n<dt>Does it work with Wordpress plugin x?<\/dt>\n<dd><p>I've not tried them all, so I really don't know! Give it a go, it can't do any harm. Basically it should work with any Amazon link that is in the HTML of the page. If it's embedded in an iframe, Flash or anything outside your own HTML it will not work.<\/p><\/dd>\n<dt>Are there any links that don't get localized?<\/dt>\n<dd><p>Wishlist links aren't localised as a wishlist only exists on the site you built it on. Links to Amazon's Groupon clone (AmazonLocal) are also not affiliated because there is only a US site and it is not covered by the affiliate scheme.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Revised readme.txt<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fixed bug in load order of JS dependencies<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Now checks to see if your local Amazon store sells the product and only redirects link if it does<\/li>\n<li>Now works for all Amazon links, not just direct product links<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Now named 1.5 as 1.4 was corrupted when uploaded to Wordpress.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>If you local Amazon store does not sell the product with the same product ID, the script now redirects to a search results page searching for the item's title<\/li>\n<li>Prevented JavaScript error from occurring if Google's API fails or cannot provide a location<\/li>\n<li>Added support for Italian and Chinese Amazon sites<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Bug fix - the search redirects were not working properly<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added a fallback geolocation service in case the Google API fails<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Updated to reflect a change in how Amazon now handles 404 errors to ensure the correct link is used<\/li>\n<li>Fixed bug where multiple links to the same page were not all changed.<\/li>\n<li>Fixed bug for items that had a different canoconical ASIN form that used in the original link<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Added support for new Spanish Amazon.es site<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Added workaround for sites with poorly formed URL rewrites<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>Fixed bug that meant that some local sites weren't being redirected to if an ID wasn't supplied for it.<\/li>\n<\/ul>\n\n<h4>1.7.3<\/h4>\n\n<ul>\n<li>Fixed support for artist links<\/li>\n<li>Increased click report accuracy by stripping affiliate tags from AJAX product checks<\/li>\n<li>Redirected Swiss users to Amazon Germany<\/li>\n<\/ul>\n\n<h4>1.7.4<\/h4>\n\n<ul>\n<li>Fixed a bug which was incorrectly redirecting wishlist links.<\/li>\n<li>Fixed a bug which was incorrectly redirecting local.amazon.com links.<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>Added support for Amazon short links (http:\/\/amzn.to\/)<\/li>\n<li>Increased click report accuracy by stripping affiliate tags from AJAX product name lookups<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<ul>\n<li>Fixes a bug in version 1.8<\/li>\n<\/ul>\n\n<h4>1.8.2<\/h4>\n\n<ul>\n<li>Fixed a short links bug - repeated amzn.to were only being changed the first time they appeared<\/li>\n<\/ul>\n\n<h4>1.8.3<\/h4>\n\n<ul>\n<li>Performance optimisation, security tightening, code improvements<\/li>\n<li>Added version number to javascript src to enable far-future browser caching<\/li>\n<li>Added Jersey\/Guernsey\/Isle of Mann support<\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Added support for Amazon India<\/li>\n<li>Added support for links to coupons<\/li>\n<li>Added support for links directly to images, as used by light boxes<\/li>\n<li>Fixed certain wishlist links<\/li>\n<li>Extended the search for product titles when not found in initial search<\/li>\n<\/ul>\n\n<!--section=other_notes-->\n<h3>Non-Wordpress version<\/h3>\n\n<p>If you want to achieve the same result on a non-Wordpress site, you can simply install the <a href=\"http:\/\/petewilliams.info\/blog\/2009\/07\/javascript-amazon-associate-link-localiser\">JavaScript version<\/a><\/p>","raw_excerpt":"This plugin automatically changes your Amazon links to point to your visitor&#039;s local Amazon store whilst using your affiliate ID for that country","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/43975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=43975"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/petewilliams"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=43975"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=43975"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=43975"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=43975"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=43975"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=43975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}