{"id":555,"date":"2015-05-12T06:16:03","date_gmt":"2015-05-12T06:16:03","guid":{"rendered":"https:\/\/2015.calgary.wordcamp.org\/?p=555"},"modified":"2015-05-12T06:17:05","modified_gmt":"2015-05-12T06:17:05","slug":"amazon-affiliate-links-for-multiple-countries","status":"publish","type":"post","link":"https:\/\/calgary.wordcamp.org\/2015\/amazon-affiliate-links-for-multiple-countries\/","title":{"rendered":"Earlybird Question: Amazon Affiliate Links for Multiple Countries"},"content":{"rendered":"<h3>Question<\/h3>\n<p>My question is: How is the best way to set up an Amazon affiliate link on a WP website? We are Canadian, but most sales come from outside Canada. With all the eBooks and products on Amazon, how do we set up an International Amazon account and maintain it?<\/p>\n<hr \/>\n<h3>Answer<\/h3>\n<p>In short, there is no international amazon account. Unfortunately it does not exist. Amazon, while connected, runs compartmentalized on a per country basis. Because of this<strong> you have to have affiliate accounts in each country<\/strong> that you wish to have an account for.<\/p>\n<p>In terms of a solution, after you have multiple affiliate accounts, the next step is to develop a plugin that detects the origin country of a user and swaps the correct affiliate ID. Imagine it like this: <\/p>\n<ul>\n<li>If: a users country = Canada<\/li>\n<li>Then: insert &#8220;Canada Affiliate Variable&#8221; into the code<\/li>\n<\/ul>\n<p><em>The only way it won&#8217;t work if a visitor is blocking a browser from detecting that information, for example by using a proxy server.<\/em><\/p>\n<p>There are a number of ways to program this, but we do recommend investing in a developer to create a custom plugin for you. <\/p>\n<p>There are a few plugin services popping up that do this, but use caution. All it would take is some creative programming to hijack your affiliate ID, allowing a plugin developer to take your commissions. While not all plugins are bad, nor their developers &#8211; always use caution.<\/p>\n<p>Finally, keep an eye on Amazon affiliate news &#8211; this could always change in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question My question is: How is the best way to set up an Amazon affiliate link on a WP website? We are Canadian, but most sales come from outside Canada. With all the eBooks and products on Amazon, how do &hellip; <a href=\"https:\/\/calgary.wordcamp.org\/2015\/amazon-affiliate-links-for-multiple-countries\/\">Continue reading <span class=\"assistive-text\">Earlybird Question: Amazon Affiliate Links for Multiple Countries<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":13869737,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[491856,491851],"tags":[],"class_list":["post-555","post","type-post","status-publish","format-standard","hentry","category-earlybird-questions","category-wordpress-resources"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p5BHqT-8X","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts\/555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/users\/13869737"}],"replies":[{"embeddable":true,"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/comments?post=555"}],"version-history":[{"count":4,"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts\/555\/revisions"}],"predecessor-version":[{"id":559,"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts\/555\/revisions\/559"}],"wp:attachment":[{"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/media?parent=555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/categories?post=555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/calgary.wordcamp.org\/2015\/wp-json\/wp\/v2\/tags?post=555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}