WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Amazon Affiliate Link Localizer] (31 posts)

  1. Spiritualight
    Member
    Posted 3 years ago #

    Hi

    I have installed this plugin but when I check my USA amazon links from the UK, I just get forwarded onto the USA Amazon... I have included all my affiliate ID's... any ideas?

  2. PublishingCentral
    Member
    Posted 3 years ago #

    The same thing happened to me. I fixed it by getting an API key from here:
    http://code.google.com/apis/loader/signup.html

    Then you'll need to add the key to your plugin. Open amazon_affiliate_link_localizer.php in the wordpress plugin editor, and look for the line that has this javascript bit:
    <script type=\"text/javascript\" src=\"http://www.google.com/jsapi\">

    right after the jsapi add
    ?key=
    and then your API key that you got from Google.

    So that line should look like:
    <script type=\"text/javascript\" src=\"http://www.google.com/jsapi?key=YOUR_BIG_LONG_API_KEY_FROM_GOOGLE\">

    After I did that, my link localization worked perfectly.

  3. Spiritualight
    Member
    Posted 3 years ago #

    Hi PublishingCentral,

    Thanks so much for the reply, was beginning to lose hope! I did as you said and got an API and added it in the correct place but my .com Amzn links still don't redirect to the .co.uk Amzn, and I live in the UK...

    Thanks for your help...

    S

  4. PublishingCentral
    Member
    Posted 3 years ago #

    Are the products you're listing available on the co.uk site? I've had a number of books and videos that don't switch from the .com site, and it turns out that they come up with a 404 page when I change the extension.

    The other thing I would try is putting an Amazon link without your affiliate id, to see if the script adds it. At least you'd know for sure then whether the script is functioning at all. If it's not, I'd try uninstalling, then reinstalling.

  5. Spiritualight
    Member
    Posted 3 years ago #

    Hi

    Thanks again for your help..Yes the products are available on the UK site... tried a link without my affiliate ID.. same thing... uninstalled and reinstalled with the google API and without...

    Just doesnt seem to want to work for me...lol

    Thanks again for trying to help PublishingCentral

    S

  6. PublishingCentral
    Member
    Posted 3 years ago #

    One final thought... check the source of your blog to make sure the script line (the same one you edited) shows up there.

    Not sure what else to check, but I hope you find a solution to your problem.

    W

  7. angusbc
    Member
    Posted 3 years ago #

    PublishingCentral, since you are the only person I've found who says that this plugin works, I was wondering if you would mind taking a look at my question about it here: http://wordpress.org/support/topic/does-this-plugin-work-with-amazon-search-results-pages?replies=1 I'm trying to figure out if this will only work with specific product links, or if it also should work with search results-type links.

  8. PublishingCentral
    Member
    Posted 3 years ago #

    It adds my .com affiliate id, but it doesn't redirect for results-type links, as far as I can tell.

  9. PeteWilliams
    Member
    Posted 3 years ago #

    @Spiritualight - As explained in the FAQ, it may be that Google cannot get a fix on your location. This does happen occassionally, go to http://petewilliams.info/geo.php to check this and let me know what it says.

    Also that API key is not required.

    Cheers

    Pete

  10. Spiritualight
    Member
    Posted 3 years ago #

    @PeteWilliams thanks for replying... your link gives 'No Country Detected'

    Any ideas?

    S

  11. PeteWilliams
    Member
    Posted 3 years ago #

    I am looking at creating a serverside fallback for when Google can't get a fix, but that's a big job so won't happen for a while. In the meanwhile though, it's not a big problem - it only happens to a few people so it should work fine for your visitors even if not for you - and of course that's what matters.

    Pete

  12. akiraxx
    Member
    Posted 2 years ago #

    Hi

    @PeteWilliams

    I want to use this great plugin.
    But this does not work properly. I am also.

    I have to get a google API Key,and "amazon_affiliate_link_localizer.php" was added to.

    http://petewilliams.info/geo.php
    Once I have access to it was displayed properly as shown below.
    "Your country code is: 'JP'"

    When I clicked on the link for Amazon in the U.S. will not be transferred to Amazon Japan.
    What is the problem?

  13. PeteWilliams
    Member
    Posted 2 years ago #

    Hi akriraxx - do you have a link to your website I can look at to see what's going on? Can you tell me exactly what link you clicked on and what URL it took you to? Also, what changes have you made to "amazon_affiliate_link_localizer.php? None should be required (the API key is not needed) so I wonder if this may have broken something?

    Feel free to email me at me@petewilliams.info

    Cheers

    Pete

  14. akiraxx
    Member
    Posted 2 years ago #

    Thanks reply.

  15. PeteWilliams
    Member
    Posted 2 years ago #

    Thanks Akira. As mentioned in the FAQ the plugin does not yet support Amazon widgets, just normal text links.

  16. akiraxx
    Member
    Posted 2 years ago #

    Thanks for reply.

    I understand.
    Once a text link, was transferred to the Amazon in Japan.

    But 404 pages (Amazon Japan) will be displayed.

    Why?

  17. PeteWilliams
    Member
    Posted 2 years ago #

    Do you have an example of a text link that goes to a 404 I can see?

  18. akiraxx
    Member
    Posted 2 years ago #

    Thanks for reply.

    As an example, I created a link for amazon.co.uk.

    this page

    How do?

  19. akiraxx
    Member
    Posted 2 years ago #

    Hi.

    Apparently, the product ASIN number that does not exist in the Amazon of Japan, to appear on page 404.
    In this way, the presence of Amazon ASIN numbers in the United States, Japan does not exist in the Amazon, what should I do?

  20. akiraxx
    Member
    Posted 2 years ago #

    @PeteWilliams

    If the ASIN number does not exist in the local Amazon site, the item's name search does not work properly, appears on page 404.
    What should I do now?

    Please let me know.

  21. PeteWilliams
    Member
    Posted 2 years ago #

    @akiraxx

    It looks like the 404s work a bit differently on the Japanese site for some reason. I've made some changes to a new version, if you'l like to test it out please give me your email address and I'll send you a copy.

    Cheers

    Pete

  22. akiraxx
    Member
    Posted 2 years ago #

    Thank you very kindly.

    I sent an email to "me@petewilliams.info"

  23. PeteWilliams
    Member
    Posted 2 years ago #

    This issue should now be fixed in the latest version (1.6.1)

  24. akiraxx
    Member
    Posted 2 years ago #

    @Pete

    This time, many kindly supported me, thank you!
    I have resolved all issues, now works correctly.
    This plugin is great.

    Someday, I hope that, it also supports widgets.

  25. theobroma
    Member
    Posted 2 years ago #

    Hi,
    This plugin sounds like a great idea.
    Does it Amazon product image links? I have some book cover images linking to Amazon and am wondering if I have to use text-only links, or if both text and image links work?
    What about banner ads?

  26. PeteWilliams
    Member
    Posted 2 years ago #

    Hi, it'll work with any link that is present in your original HTML - it doesn't matter what's inside the link element.

    It does not, however, work with the various Amazon widgets which automatically generate images and text from withn an iframe.

    Pete

  27. Chris
    Member
    Posted 2 years ago #

    Hello,

    i really like this Plugin. Unfortunately, i do also have a problem with the geo location. I've added german Amazon Links with the Amazon Image Link Creator to my site. The Plugin converts the large link version from the creator to the exec/obidos/ASIN/xxx/affiliate links.

    I've added a amazon.com link to test the localization in germany, but it does not convert. If you want to have a look at the links, check out my site DJ rooms. On the right frame, you can see some CD covers. the last CD cover is a amazon.com link for testing. all others are amazon.de links.

    Would be great if you can help me.

    cheers
    Chris

  28. Chris
    Member
    Posted 2 years ago #

    Hey Pete,

    got this working now, but it only works with search links and the Amazon mainpage. Links with an ASIN do not get changed to the region. I used the *.com links and they get changed to *.de.

    That's fine for me. Any guess why it does not work with Product links here?

    cheers
    Chris

  29. PeteWilliams
    Member
    Posted 2 years ago #

    Hi Chris, can you give me a link to a page on your site with one of the problematic links you're talking about.

    Thanks

  30. Chris
    Member
    Posted 2 years ago #

    Hi Pete,

    thanks for your reply. Just go to http://www.dj-rooms.com and try one of the links (cd-covers or animated gif) on the right.

    It works now with search and category links. But won't work with article links. Unfortunately i do not have any article links on the site any more.

    thanks
    Chris

Topic Closed

This topic has been closed to new replies.

About this Topic