Amazon.com Affiliate Direct to Cart Auto Embed [Deleted]

Can you detail what the JavaScript errors are?

This add on doesn't include any JavaScript as far as I can remember..,
 
Wondering about something.

If I paste a link like this:

Code:
http://www.amazon.com/gp/product/B000AERPP4?ie=UTF8&redirect=true&ref_=s9_simh_gw_p79_d2_i7

It'll change to a link that looks like this and correctly inserts the Associates ID:

Amazon.com Product B000AERPP4

(although it goes to an "Add to Shopping Cart" page instead of a product page).

But if I select some text to turn it into a link like this then it doesn't change the link.

Is there any way to get both types of links to create links with the Associates' ID AND go to product pages, not the Add to Shopping Cart page?

I imagine a lot of people who post Amazon links in threads do it so people who click can actually view product information. The Add to Shopping Cart page doesn't let you do that. In fact, on that page there isn't even a link back to the product page, so it means the user will have to copy and paste the name and do a search, which is just more work for them.

Any thoughts?
 
The whole point of this is the direct to cart process sets a cookie that supposedly lasts for 90 days.

So, if the user then buys the item any time in the next 90 days then your affiliate programme is credited for that.

Direct to product pages adds a standard cookie that doesn't last very long.

What the shopping cart page does let you do, is indeed add the product to their cart. Once the item is added to the cart they have a link right back to the item. If they decide they don't want the item, they can just remove it from their cart.

It's a win/win situation for everyone so I have no plans to change it.

That being said, this is essentially a BB Code Media Site.

You can quite easily amend the HTML it outputs in the Admin CP.

You would just amend it so it outputs something like: http://www.amazon.co.uk/gp/product/B000AERPP4/ref=as_li_tf_tl?ie=UTF8&linkCode=as2&tag=valv-21
 
There's not a lot I can do about that.

The Amazon links are converted using a BB Code Media site. If you have that option turned on, that's what will happen.
 
Giving this a try, but running into some issues. I am trying to add a linkto the following:

http://www.amazon.com/SE-FS374-Emergency-Fire-Starter/dp/B0010O748Q

This is converted to:
Code:
[media=amazon]B0010O748Q[/media][CODE]
 
But no link shows, and FF throws a JS error. Checking the Javascript console yields the following:
 
[QUOTE]
Timestamp: 14/12/2012 21:30:55
Warning: Unknown property 'box-sizing'.  Declaration dropped.
Source File: http://xenforo.com/community/css.php?css=xenforo,form,public&style=3&dir=LTR&d=1353978813
Line: 407
Timestamp: 14/12/2012 21:30:55
Warning: Unknown property '-moz-border-radius'.  Declaration dropped.
Source File: http://xenforo.com/community/css.php?css=xenforo,form,public&style=3&dir=LTR&d=1353978813
Line: 416
Timestamp: 14/12/2012 21:30:55
Warning: Unknown property '-moz-box-shadow'.  Declaration dropped.
Source File: http://xenforo.com/community/css.php?css=xenforo,form,public&style=3&dir=LTR&d=1353978813
Line: 416
Timestamp: 14/12/2012 21:30:55
Warning: Unknown property 'box-sizing'.  Declaration dropped.
Source File: http://xenforo.com/community/css.php?css=xenforo,form,public&style=3&dir=LTR&d=1353978813
Line: 416
Timestamp: 14/12/2012 21:30:55
Warning: Unknown property '-moz-border-radius'.  Declaration dropped.
Source File: http://xenforo.com/community/css.php?css=xenforo,form,public&style=3&dir=LTR&d=1353978813
Line: 417

And a lot more errors.

If I remove the "friendly description" from the URL, I'll end up on:

http://www.amazon.com/dp/B0010O748Q

And at the very top, there's a Amazon Associates bar shown, which carries the option: "Link to this page". Apparently that gives me the ability to embed the product automatically in an iFrame, using my associates ID, and with a picture, description, and price.

I assume that method does not use the 90 day cookie, but would it be possible getting something similar to that as output from the add-on?
 
Quick update on the issue above. The link using /gp/{id} is correctly altered when I view the HTML of the page. It shows a link, including my embedded affiliate id, and when clicking the link, it takes me to Amazon and asks me to confirm I want to add the item to my basket.

However, the link description is missing, and at the top of the page in the source code there's the following message:

Code:
Invalid xml response

I tried creating a new key pair, but that did not solve the issue. Maybe something changed in the way Amazon yields replies to whatever API call the add-on uses?
 
Yes, I think the Amazon API is broken :(

Also, I'm slightly concerned.

I'm not sure the 90 day cookie is set any more, in which case this add-on probably isn't doing what we thought.

I'm going to look into it.
 
Yeah, check this out :confused:

aItzw.png


I've installed my add-on (with product descriptions disabled) posted a URL and clicked it. The above is the cookies.

There's no Cookies with a 90 day duration there... the rest are all just technical website stuff. There are no affiliate cookies that last longer than a few days...
 
Damn. Is the result the same for amazon.com?

If it is, am I correct in assuming that it probably would be better (better as in guaranteeing more clicks) to use the text + image link from Amazon itself?
 
I will test with Amazon.com and let you know.

But yeah, if that also doesn't set a cookie then it seems Amazon doesn't do that any more and yep, you'd be better to just use some other methods... in which case I'd be probably deleting this resource...!
 
This resource has been removed and is no longer available for download.

Confirmed: There does no longer appear to be a 90 day cookie available when you add Amazon items direct to cart via an affiliate link.

I've tested other methods of doing this and none create a 90 cookie locally.
 
Top Bottom