(Obsolete) Use Amazon OneLink to make affiliated links on global forums much easier

This guide is deprecated. OneLink is supposed to work without additional scripts now (I say ‘supposed to’ because for many months now it has failed to work for me and others as proven by the number of posts on the subject on a popular user forum)

Anyway, as such you no longer need this. Let’s hope they fix the non-script solution!!

Guys,

Challenge:

Here was my problem. I have a global forum and wanted to direct people to the right Amazon locale for my affiliate links. I ideally wanted one amazon link that serves all my clients globally within the supported list of territories. I originally had a cludge - one link for US, one for UK … for every darn product link I have …

Possible solutions:

  • the official discourse-affiliate plugin? Haven’t tried tbh
  • The new kid in town: Amazon’s OneLink available seemingly exclusively from the US affiliate domain website, but don’t let that put you off if you are from elsewhere …

Advantages of using OneLink:

  • To install, it’s only a necessary to add a Theme Component, which makes it nice and simple & low impact in that respect

Using OneLink on Discourse:

  • You need to add a Theme component for the OneLink script before the closing body tag in the /body section. Ignore the error due to the ‘&’ - if you change that to %26 it will break the script oddly. Something like:
    <!DOCTYPE html><div id="amzn-assoc-ad-blah-blah-code"></div><script async src="https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=blah-blah-code"></script>
  • Add that theme component to all your user selectable Themes
  • IMPORTANT: to prevent you breaking your affiliate agreement which bars you from using Amazon trademarks locally (except when sourced live from their servers), blacklist one-boxing for all amazon links using the setting onebox domains blacklist. The links will still work but will be less pretty obviously - however, you can replace them with official affiliate links.
  • Read the agreement thoroughly. Make the required disclaimers visible and obvious as per the agreement “As an Amazon Assoc …”
  • Also consider blacklisting the Amazon image url’s that are included in the affiliate links to prevent those images being uploaded locally - this may break terms of your Affiliate agreement. Use setting disabled image download domains

The link contains your ID & account keys, so please get the real code from the OneLink webpage.

Once done, anytime you click on an amazon link on your website, it should do two things:

  • register that it came via your affiliation
  • open a new tab on the clients browser in the locale of the last Amazon website they logged onto, hopefully their home shop.

Now you need to read the OneLink website and make sure you have registered for an ID at each of the supported locales and linked them to your US account.

I believe you still get ‘credited’ in each locale - Amazon is a bit unclear about this - I will update this guide once I’ve had more experience with it.

Limitations:

  • Clearly it only supports Amazon …
  • Doesn’t gross up your credits in one place, they still accrue to each region
  • Annoyingly it seems to leave the primary link (say US) open too, so you have go back from that to get back to your forum …
  • May not work for users with adblocking in place

Hope this helps!

Any questions or feedback on this guide welcome…

12개의 좋아요

So just an update. After a little bit of experience and having my account closed once, I’ve done the following:

  • Amazon one-boxing remains blacklisted so as not to generate unauthorised trademarked images locally.
  • I’ve been very careful to make the required disclaimers visible and obvious as per the agreement “As an Amazon Assoc …”
  • I’ve also ‘blacklisted’ Amazon’s image sources to prevent local uploading of images from Amazon to prevent any rule transgression. This has the added benefit of saving you server space and leveraging their CDN presumably :slight_smile:

Added this to the guide above.

7개의 좋아요

로버트님,

현재 Amazon OneLink 작업을 진행 중이며 몇 가지 질문이 있습니다.
Q1: OneLink를 위해 자체 테마 컴포넌트를 생성해야 한다는 뜻인가요? 테마 컴포넌트 템플릿을 제공해 주실 수 있을까요?

Q2: Amazon OneLink 스크립트에서 'Named entity expected. Got none.'라는 오류가 발생했습니다. 이 오류를 어떻게 수정할 수 있을까요?

Amazon OneLink를 위해 여러 가지 방법을 시도해 보았지만, 현재는 작동하지 않습니다. 빠른 회신을 기다리고 있습니다. 시간을 내어 주셔서 감사합니다.

불편을 드려 죄송합니다 :slight_smile:

네, 맞습니다. 그리고 이미 위에서 인용하신 부분이 바로 그것입니다. /body에 있는 그 단일 항목만 확인하시고 id와 InstanceId를 업데이트하시면 됩니다. 이미 그렇게 하신 것으로 보입니다. 너무 단순해서 GitHub에 호스팅할 가치조차 없다고 생각했습니다. 하지만 …

예시를 정확히 복사하지 않으셨습니다. https:가 빠져 있습니다. 이것이 문제인지는 확신할 수 없지만, 일단 지적해 드립니다. 추가해 보시기 바랍니다. Theme 편집기에서 경고 오류가 표시되지만 그래도 작동합니다. (저장할 수만 있다면) 무시해 보시기 바랍니다.

도움이 되셨으면 좋겠습니다! :slight_smile:

1개의 좋아요

로버트님,

답변 주셔서 감사합니다. 큰 도움이 되었습니다.

첫 번째 질문으로 돌아가겠습니다. '&'를 '&%26’으로 변경했는데, 이 스크립트에는 더 이상 오류가 발생하지 않습니다. 이 구성 요소에 대해 올바른 방식인가요?

또 다른 질문이 있습니다. OneLink는 미국 계정을 연결하여 국제 광고를 추적하는 용도만 있고, 웹사이트에 광고를 표시하는 용도는 아닌 것이 맞나요? 웹사이트에는 여전히 Amazon Advertising(배너, 상품 링크 등)을 복사하여 붙여넣어야 합니다.

사실, 이건 불필요할 수 있다고 생각합니다. 죄송합니다. 원문(OP)에서 제거할 수도 있겠습니다. 그냥 &만 사용해보세요. 즉, 변경하지 마세요.

이것은 국제적인 추적용입니다(그래서 'one-link’라고 하는 거죠). Amazon Affiliate .com에서 국제 아마존 제휴 계정을 연결하는 것을 잊지 마세요. 그들의 가이드를 따르세요.

네, 이 방식은 수동으로 처리해야 하지만, 직접 만든 자바스크립트를 사용하면 자동화할 수 있습니다. 실험해 보세요! 저는 Custom Layout 플러그인과 HTML 위젯을 사용하여 손으로 고른 목록에서 측면 광고를 순환 표시하는 데 사용했습니다. 제휴 계정으로 로그인하여 아마존의 Site Strip에서 원본 링크를 가져오세요. 일부 제품은 모든 지역에서 이용 가능한 것이 아니라는 점에 유의하세요.

2개의 좋아요

알겠습니다. 팁을 주셔서 정말 감사합니다. 제 웹사이트 papasasa.com에서 시도해 보겠습니다.

2개의 좋아요