Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,168
Community Members
 
Community Events
165
Community Groups

Can I insert Amazon affiliate code in my Confluence page?

I've attempted the iFrame macro and am getting a refused to connect error.

The code looks like this:
<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=US&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=sanewire-20&language=en_US&marketplace=amazon&region=US&placement=B01MXUSRMN&asins=B01MXUSRMN&linkId=8abf39d73dffccef7e1066cde6369f39&show_border=true&link_opens_in_new_window=true"></iframe>

Thanks for any thoughts.

1 answer

1 accepted

0 votes
Answer accepted
Brant Schroeder Community Leader Apr 05, 2022

@Gary Fujioka_ Sr_ Welcome to the Atlassian Community

You can use the iFrame macro.  Just put this in the URL section: //ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=US&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=sanewire-20&language=en_US&marketplace=amazon&region=US&placement=B01MXUSRMN&asins=B01MXUSRMN&linkId=8abf39d73dffccef7e1066cde6369f39&show_border=true&link_opens_in_new_window=true

Make the height 240 and width 120.

Worked fine for me.

Thank you Brant. You're a gentleman and a scholar.

Like Brant Schroeder likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

1,087 views 20 29
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you