# Embed amazon affiliate link with image - can't link and can't see the amazon product

**URL:** <https://forum.wixstudio.com/t/embed-amazon-affiliate-link-with-image-cant-link-and-cant-see-the-amazon-product/59070>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [May 8, 2024, 4:43pm UTC](https://forum.wixstudio.com/t/embed-amazon-affiliate-link-with-image-cant-link-and-cant-see-the-amazon-product/59070 "2024-05-08T16:43:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexis\_Roy](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/alexis_roy/32/80726_2.png) [@Alexis\_Roy](https://forum.wixstudio.com/u/Alexis_Roy)\
**Post date:** [May 8, 2024, 4:43pm UTC](https://forum.wixstudio.com/t/embed-amazon-affiliate-link-with-image-cant-link-and-cant-see-the-amazon-product/59070/1 "2024-05-08T16:43:14Z")

</div>

**Question:**  
Hello,  
I am trying to link on my wix website a https link from amazon affiliate and I can’t make it work. I want to import the link with the image product from amazon.

Here’s an image of what happens when I try to do it.

 ![BUG Amazon affiliate](https://us1.discourse-cdn.com/wix/original/3X/a/b/ab18e278554b99cfb17f767483cde9f6b8cca193.jpeg)

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [May 9, 2024, 11:10am UTC](https://forum.wixstudio.com/t/embed-amazon-affiliate-link-with-image-cant-link-and-cant-see-the-amazon-product/59070/2 "2024-05-09T11:10:32Z")

</div>

The link will open another webpage?

1. Activate the DEV-MODE in the Wix-Editor of your choice.
2. If not already done, add an HTML-Component onto your page (iFrame)).
3. Add the following code to the code-section of your page…
4. Replace the URL with your own.
5. Publish website.
6. Test it.
7. Have fun.

```javascript
$w.onReady(()=>{
    $w("#myHtmlComponentIDhere").src = "https://en.wikipedia.org/wiki/HTTPS";
});

```

---

<div class="post-metadata">

**Author:** ![Alexis\_Roy](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/alexis_roy/32/80726_2.png) [@Alexis\_Roy](https://forum.wixstudio.com/u/Alexis_Roy)\
**Post date:** [May 9, 2024, 10:00pm UTC](https://forum.wixstudio.com/t/embed-amazon-affiliate-link-with-image-cant-link-and-cant-see-the-amazon-product/59070/3 "2024-05-09T22:00:38Z")

</div>

Hi!  
thank you for your quick response and your help. I’m a beginner in coding…  
I tried copying the code you suggested but end up with the same problem and result. Here’s what I did. I receive a message on the HTML component that [amazon.com](http://amazon.com) doesn’t autorize the connexion.

 ![Capture](https://us1.discourse-cdn.com/wix/original/3X/b/4/b4c2e2f19244d8c92a54558f00f7038b7bbed4d6.jpeg)

---

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [May 10, 2024, 10:46am UTC](https://forum.wixstudio.com/t/embed-amazon-affiliate-link-with-image-cant-link-and-cant-see-the-amazon-product/59070/4 "2024-05-10T10:46:44Z")

</div>

**Test it with a simple url** → [http://www.goole.com](http://www.goole.com)  
Does it work?

**Next step:** → Test your link manually, adding it directly to a webbrowsers input.  
Did it work?

Try to find out what exactly causes the issue and and which checkpoint.
